vp-build/srcpkgs/hans/template

21 lines
524 B
Bash

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