void-packages/srcpkgs/reop/template

25 lines
710 B
Bash

# 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
}