# Template file for 'libgfshare' pkgname=libgfshare version=2.0.0 revision=3 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" short_desc="Shamir's secret-sharing method in the Galois Field GF(2**8)" maintainer="lemmi " license="MIT" homepage="https://git.gitano.org.uk/libgfshare.git" distfiles="http://www.digital-scurf.org/files/libgfshare/libgfshare-${version}.tar.bz2" checksum=86f602860133c828356b7cf7b8c319ba9b27adf70a624fe32275ba1ed268331f pre_configure() { autoreconf -fi } 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" pkg_install() { vmove usr/bin/gfcombine vmove usr/bin/gfsplit vmove usr/share/man/man1/gfcombine.1 vmove usr/share/man/man1/gfsplit.1 } }