void-packages/srcpkgs/signify/template

25 lines
725 B
Plaintext

# Template file for 'signify'
pkgname=signify
_pkgname=signify-portable
version=20140902
revision=2
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"
update_pkgname=$_pkgname
distfiles="${SOURCEFORGE_SITE}/slackdepot/${pkgname}/${_pkgname}-${version}.tar.bz2"
checksum=0b31e507f2c2a29eed3658aed83346b6309aad1df6a7dfdcfb798416d8341aee
wrksrc="${_pkgname}-${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 |g" Makefile
}
post_install() {
vdoc README
vdoc BACKGROUND
}