void-packages/srcpkgs/signify/template

25 lines
725 B
Text
Raw Normal View History

2014-07-14 20:52:48 +00:00
# Template file for 'signify'
pkgname=signify
_pkgname=signify-portable
2014-11-13 13:43:59 +00:00
version=20140902
2014-11-14 14:31:55 +00:00
revision=2
2014-07-14 20:52:48 +00:00
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"
2014-11-03 21:50:18 +00:00
update_pkgname=$_pkgname
2014-07-14 20:52:48 +00:00
distfiles="${SOURCEFORGE_SITE}/slackdepot/${pkgname}/${_pkgname}-${version}.tar.bz2"
2014-11-13 13:43:59 +00:00
checksum=0b31e507f2c2a29eed3658aed83346b6309aad1df6a7dfdcfb798416d8341aee
2014-07-14 20:52:48 +00:00
wrksrc="${_pkgname}-${version}"
pre_build() {
sed -i 's|^mandir=${prefix}/man|mandir=${prefix}/share/man|g' Makefile
2014-11-14 14:33:28 +00:00
sed -i "s|^CC=gcc|CC=$CC|g;s|CFLAGS=|CFLAGS=$CFLAGS |g" Makefile
2014-07-14 20:52:48 +00:00
}
post_install() {
vdoc README
vdoc BACKGROUND
}