commit
56d398cfb1
|
@ -0,0 +1 @@
|
|||
libgfshare
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libgfshare'
|
||||
pkgname=libgfshare
|
||||
version=2.0.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
short_desc="Shamir's secret-sharing method in the Galois Field GF(2**8)"
|
||||
|
@ -11,6 +11,16 @@ homepage="https://git.gitano.org.uk/libgfshare.git"
|
|||
distfiles="http://www.digital-scurf.org/files/libgfshare/libgfshare-${version}.tar.bz2"
|
||||
checksum=86f602860133c828356b7cf7b8c319ba9b27adf70a624fe32275ba1ed268331f
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" libgfshare-maketable"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i -e 's#\.\/gfshare_maketable#gfshare_maketable#' Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYRIGHT
|
||||
}
|
||||
|
@ -31,5 +41,14 @@ libgfshare-tools_package() {
|
|||
pkg_install() {
|
||||
vmove usr/bin/gfcombine
|
||||
vmove usr/bin/gfsplit
|
||||
vmove usr/share/man/man1/gfcombine.1
|
||||
vmove usr/share/man/man1/gfsplit.1
|
||||
}
|
||||
}
|
||||
|
||||
libgfshare-maketable_package() {
|
||||
short_desc+="tables for libgfshare"
|
||||
pkg_install() {
|
||||
vbin gfshare_maketable
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue