hans: simplified build style

This commit is contained in:
Andrea Brancaleoni 2015-08-12 16:07:02 +02:00
parent d4c09ffbc3
commit 3f3124841b

View file

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