# Template file for 'hans'
pkgname=hans
version=1.1
revision=1
short_desc="ICMP tunneling software"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3.0-or-later"
homepage="http://code.gerade.org/hans/"
distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz"
checksum=f96265613b4b1c408cc6cde5262de5a660bf781370eb548d8547f6e534726e13

post_extract() {
	sed -i '/FLAGS/s/=/+=/' Makefile
}
do_build() {
	make GCC="$CC" GPP="$CXX" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
	vbin hans
}
