void-packages/srcpkgs/libhomfly/template

27 lines
769 B
Bash
Raw Normal View History

2021-11-21 14:28:57 +00:00
# Template file for 'libhomfly'
pkgname=libhomfly
version=1.02r6
revision=1
build_style=gnu-configure
makedepends="gc-devel"
short_desc="Library to compute the homfly polynomial of knots and links"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="custom:unlicense"
homepage="https://github.com/miguelmarco/libhomfly/"
distfiles="https://github.com/miguelmarco/libhomfly/releases/download/${version}/libhomfly-${version}.tar.gz"
checksum=f990d991d29a590c54b09eff68bc209c4cf2b8b12d945351688d2db8a0d30979
post_install() {
vlicense LICENSE
}
libhomfly-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}