33 lines
1,000 B
Bash
33 lines
1,000 B
Bash
# Template file for 'reop'
|
|
pkgname=reop
|
|
version=2.1.1
|
|
revision=2
|
|
makedepends="libsodium-devel"
|
|
short_desc="Create and verify cryptographic signatures"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="ISC, BSD"
|
|
homepage="http://www.tedunangst.com/flak/post/reop"
|
|
distfiles="http://www.tedunangst.com/flak/files/reop-${version}.tgz"
|
|
checksum=fa8ae058c51efec5bde39fab15b4275e6394d9ab1dd2190ffdba3cf9983fdcac
|
|
|
|
pre_fetch() {
|
|
# 301 redirect to https://www.tedunangst.com/flak/files/reop-2.1.0.tgz
|
|
# [...]
|
|
# Certificate verification failed for /C=US/ST=PA/O=tedunangst.com/CN=www.tedunangst.com/emailAddress=tedu@tedunangst.com
|
|
export SSL_NO_VERIFY_PEER=1
|
|
}
|
|
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_check() {
|
|
(cd tests && ./test.sh)
|
|
}
|
|
do_install() {
|
|
vbin reop
|
|
vman reop.1
|
|
vlicense LICENSE
|
|
}
|