New package: reop-2.1.0

This commit is contained in:
Duncaen 2016-08-06 21:18:53 +02:00
parent 4dcc03b96d
commit 8c14f99655

24
srcpkgs/reop/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'reop'
pkgname=reop
version=2.1.0
revision=1
makedepends="libsodium-devel"
short_desc="Create and verify cryptographic signatures"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="ISC, BSD"
homepage="http://www.tedunangst.com/flak/post/reop"
distfiles="http://www.tedunangst.com/flak/files/reop-${version}.tgz"
checksum=e429c7ff47f130bd465eaa0c23a1783b476bc484d32793592b54a568b55e49af
do_build() {
make -f GNUmakefile \
CC="$CC" CFLAGS="$CFLAGS" \
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include -Iother ${CPPFLAGS}" \
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lsodium ${LDFLAGS}"
sed -n '2,14p' reop.c | cut -b4- > LICENSE
}
do_install() {
vbin reop
vman reop.1
vlicense LICENSE
}