New package: libgfshare-2.0.0

This commit is contained in:
lemmi 2017-10-09 02:32:39 +02:00
parent c532b65066
commit 5ce5473a95
4 changed files with 42 additions and 0 deletions

View File

@ -2871,3 +2871,4 @@ libmozjs-52.so.0 mozjs52-52.3.0_1
libvala-0.38.so.0 libvala-0.38.1_1
libvaladoc-0.38.so.0 libvala-0.38.1_1
libphodav-2.0.so.0 phodav-2.2_1
libgfshare.so.2 libgfshare-2.0.0_1

1
srcpkgs/libgfshare-bin Symbolic link
View File

@ -0,0 +1 @@
libgfshare

1
srcpkgs/libgfshare-devel Symbolic link
View File

@ -0,0 +1 @@
libgfshare

View File

@ -0,0 +1,39 @@
# Template file for 'libgfshare'
pkgname=libgfshare
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config libtool"
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=d9c2bd5e798a0e9156aa33be091367ecb8fe0dce548c2529682594529b450135
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-bin_package() {
short_desc+="gfsplit and gfcombine utilities for multi-way secret-sharing"
pkg_install() {
vmove usr/bin/gfcombine
vmove usr/bin/gfsplit
}
}