void-packages/srcpkgs/apg/template
2015-01-15 11:17:10 +00:00

22 lines
560 B
Bash

# Template file for 'apg'
pkgname=apg
version=2.2.3
revision=3
short_desc="Automated Password Generator"
homepage="http://www.adel.nursat.kz/apg/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
do_build() {
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
make CC="$CC" ${makejobs}
}
do_install() {
for i in apg apgbfm; do
vinstall $i 755 usr/bin
vinstall doc/man/$i.1 744 usr/share/man/man1
done
}