-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
41 lines (37 loc) · 1.02 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Template file for 'libgfshare'
pkgname=libgfshare
version=2.0.0
revision=4
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 <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
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
}
}