apg: pass CFLAGS and LDFLAGS, clean up.
This commit is contained in:
parent
c95e0cc323
commit
79b4b00a0f
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apg'
|
# Template file for 'apg'
|
||||||
pkgname=apg
|
pkgname=apg
|
||||||
version=2.2.3
|
version=2.2.3
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="Automated Password Generator"
|
short_desc="Automated Password Generator"
|
||||||
homepage="http://www.adel.nursat.kz/apg/"
|
homepage="http://www.adel.nursat.kz/apg/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
|
@ -10,13 +10,13 @@ distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"
|
||||||
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
|
checksum=69c9facde63958ad0a7630055f34d753901733d55ee759d08845a4eda2ba7dba
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
|
make CC="$CC" FLAGS="$CFLAGS" LIBM="-lm $LDFLAGS" ${makejobs}
|
||||||
make CC="$CC" ${makejobs}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
for i in apg apgbfm; do
|
vbin apg
|
||||||
vinstall $i 755 usr/bin
|
vbin apgbfm
|
||||||
vinstall doc/man/$i.1 744 usr/share/man/man1
|
vman doc/man/apg.1
|
||||||
done
|
vman doc/man/apgbfm.1
|
||||||
|
vlicense COPYING LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue