2015-08-10 19:40:05 +02:00
|
|
|
# Template file for 'hans'
|
|
|
|
pkgname=hans
|
|
|
|
version=0.4.4
|
2016-05-25 18:05:44 +02:00
|
|
|
revision=3
|
2015-08-10 19:40:05 +02:00
|
|
|
short_desc="ICMP tunneling software"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://code.gerade.org/hans/"
|
|
|
|
distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz"
|
|
|
|
checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37
|
|
|
|
|
2016-05-25 18:05:44 +02:00
|
|
|
post_extract() {
|
|
|
|
sed -i '/FLAGS/s/=/+=/' Makefile
|
|
|
|
}
|
2015-08-12 16:07:02 +02:00
|
|
|
do_build() {
|
2016-05-25 18:05:44 +02:00
|
|
|
make GCC="$CC" GPP="$CXX" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
2015-08-10 19:40:05 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
vbin hans
|
|
|
|
}
|