void-packages/srcpkgs/hans/template
2016-11-20 12:48:22 +01:00

20 lines
516 B
Bash

# Template file for 'hans'
pkgname=hans
version=1.0
revision=1
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=53090083d440466e573b35f2eeab0b4b0dcd3e6290f797c999b4f5a0b5caaba2
post_extract() {
sed -i '/FLAGS/s/=/+=/' Makefile
}
do_build() {
make GCC="$CC" GPP="$CXX" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
vbin hans
}