2011-04-28 18:16:11 +02:00
|
|
|
# Template file for 'apg'
|
|
|
|
pkgname=apg
|
|
|
|
version=2.2.3
|
2014-02-18 13:14:57 +01:00
|
|
|
revision=3
|
2011-04-28 18:16:11 +02:00
|
|
|
short_desc="Automated Password Generator"
|
2013-03-31 09:30:05 +02:00
|
|
|
homepage="http://www.adel.nursat.kz/apg/"
|
2014-11-01 18:35:36 +01:00
|
|
|
update_site="http://www.adel.nursat.kz/apg/download.shtml"
|
|
|
|
update_ignore="*b"
|
2013-03-31 09:30:05 +02:00
|
|
|
license="BSD"
|
2011-04-28 18:16:11 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 08:55:23 +02:00
|
|
|
distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"
|
2011-04-28 18:16:11 +02:00
|
|
|
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_build() {
|
2011-04-28 18:16:11 +02:00
|
|
|
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
|
2014-02-18 13:14:57 +01:00
|
|
|
make CC="$CC" ${makejobs}
|
2011-04-28 18:16:11 +02:00
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_install() {
|
2011-04-28 18:16:11 +02:00
|
|
|
for i in apg apgbfm; do
|
2014-02-18 13:14:57 +01:00
|
|
|
vinstall $i 755 usr/bin
|
|
|
|
vinstall doc/man/$i.1 744 usr/share/man/man1
|
2011-04-28 18:16:11 +02:00
|
|
|
done
|
|
|
|
}
|