void-packages/srcpkgs/libgfshare/template

42 lines
1 KiB
Bash
Raw Normal View History

2017-10-09 00:32:39 +00:00
# Template file for 'libgfshare'
pkgname=libgfshare
version=2.0.0
2017-10-09 01:50:29 +00:00
revision=3
2017-10-09 00:32:39 +00:00
build_style=gnu-configure
2017-10-09 17:03:19 +00:00
hostmakedepends="automake libtool pkg-config"
2017-10-09 00:32:39 +00:00
short_desc="Shamir's secret-sharing method in the Galois Field GF(2**8)"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="MIT"
homepage="https://git.gitano.org.uk/libgfshare.git"
distfiles="http://www.digital-scurf.org/files/libgfshare/libgfshare-${version}.tar.bz2"
checksum=86f602860133c828356b7cf7b8c319ba9b27adf70a624fe32275ba1ed268331f
2017-10-09 00:32:39 +00:00
2017-10-09 17:03:19 +00:00
pre_configure() {
autoreconf -fi
2017-10-09 01:50:29 +00:00
}
2017-10-09 00:32:39 +00:00
post_install() {
vlicense COPYRIGHT
}
libgfshare-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
libgfshare-tools_package() {
short_desc+="gfsplit and gfcombine tools for multi-way secret-sharing"
2017-10-09 00:32:39 +00:00
pkg_install() {
vmove usr/bin/gfcombine
vmove usr/bin/gfsplit
2017-10-09 01:50:29 +00:00
vmove usr/share/man/man1/gfcombine.1
vmove usr/share/man/man1/gfsplit.1
}
}