diff --git a/common/shlibs b/common/shlibs index 9a13eec6f44..489b32a0e28 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libgfshare-bin b/srcpkgs/libgfshare-bin new file mode 120000 index 00000000000..aa3e61c7b48 --- /dev/null +++ b/srcpkgs/libgfshare-bin @@ -0,0 +1 @@ +libgfshare \ No newline at end of file diff --git a/srcpkgs/libgfshare-devel b/srcpkgs/libgfshare-devel new file mode 120000 index 00000000000..aa3e61c7b48 --- /dev/null +++ b/srcpkgs/libgfshare-devel @@ -0,0 +1 @@ +libgfshare \ No newline at end of file diff --git a/srcpkgs/libgfshare/template b/srcpkgs/libgfshare/template new file mode 100644 index 00000000000..f379a506623 --- /dev/null +++ b/srcpkgs/libgfshare/template @@ -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 " +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 + } +}