void-packages/srcpkgs/signify/template

23 lines
731 B
Plaintext

# Template file for 'signify'
pkgname=signify
version=20141230
revision=1
build_style=gnu-makefile
short_desc="OpenBSD cryptographic signing and verification tool"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="ISC"
homepage="http://www.tedunangst.com/flak/post/signify"
distfiles="${SOURCEFORGE_SITE}/slackdepot/${pkgname}/${pkgname}-portable-${version}.tar.bz2"
checksum=11c0a1ac0ca8075d2f00036f8de53a213346c4b2ecf44dacedc60d160569f6b2
update_pkgname="${pkgname}-portable"
wrksrc="${pkgname}-portable-${version}"
pre_build() {
sed -i 's|^mandir=${prefix}/man|mandir=${prefix}/share/man|g' Makefile
sed -i "s|^CC=gcc|CC=$CC|g;s|CFLAGS=|CFLAGS=$CFLAGS -pie |g" Makefile
}
post_install() {
vdoc README
vdoc BACKGROUND
}