void-packages/srcpkgs/apg/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

27 lines
646 B
Plaintext

# Template file for 'apg'
pkgname=apg
version=2.2.3
distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"
short_desc="Automated Password Generator"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
long_desc="
APG (Automated Password Generator) is the tool set for random
password generation."
Add_dependency run glibc
do_build()
{
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
make ${makejobs}
}
do_install()
{
for i in apg apgbfm; do
install -D -m755 $i ${DESTDIR}/usr/bin/$i
install -D -m644 doc/man/$i.1 ${DESTDIR}/usr/share/man/man1/$i.1
done
}