From d289f98c0ffe00fb9a45ba4cffb8afe964a2f6f1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Apr 2011 18:16:11 +0200 Subject: [PATCH] Added apg-2.2.3 build template. --- srcpkgs/apg/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/apg/template diff --git a/srcpkgs/apg/template b/srcpkgs/apg/template new file mode 100644 index 00000000000..d84de97cee1 --- /dev/null +++ b/srcpkgs/apg/template @@ -0,0 +1,27 @@ +# Template file for 'apg' +pkgname=apg +version=2.2.3 +distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz" +build_style=custom-install +short_desc="Automated Password Generator" +maintainer="Juan RP " +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 +}