hans: use CFLAGS and LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-25 18:05:44 +02:00
parent eca8d10443
commit 7d9554bf70
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'hans'
pkgname=hans
version=0.4.4
revision=2
revision=3
short_desc="ICMP tunneling software"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
@ -9,10 +9,12 @@ homepage="http://code.gerade.org/hans/"
distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz"
checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37
do_build() {
make GCC="$CC" GPP="$CXX"
post_extract() {
sed -i '/FLAGS/s/=/+=/' Makefile
}
do_build() {
make GCC="$CC" GPP="$CXX" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
vbin hans
}