void-packages/srcpkgs/apg/template

32 lines
738 B
Text
Raw Normal View History

2011-04-28 16:16:11 +00:00
# Template file for 'apg'
pkgname=apg
version=2.2.3
2013-03-31 07:30:05 +00:00
revision=2
2011-04-28 16:16:11 +00:00
short_desc="Automated Password Generator"
2013-03-31 07:30:05 +00:00
homepage="http://www.adel.nursat.kz/apg/"
license="BSD"
2011-04-28 16:16:11 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"
2011-04-28 16:16:11 +00:00
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
long_desc="
APG (Automated Password Generator) is the tool set for random
password generation."
do_build() {
2011-04-28 16:16:11 +00:00
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
make ${makejobs}
}
do_install() {
2011-04-28 16:16:11 +00:00
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
}
apg_package() {
pkg_install() {
vmove usr
}
}