diff --git a/srcpkgs/grepcidr/template b/srcpkgs/grepcidr/template new file mode 100644 index 0000000000..de1e2f54ee --- /dev/null +++ b/srcpkgs/grepcidr/template @@ -0,0 +1,20 @@ +# Template file for 'grepcidr' +pkgname=grepcidr +version=2.991 +revision=1 +build_style=gnu-makefile +short_desc="Filter IP addresses matching IPv4 and IPv6 CIDR specifications" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.taugh.com/grepcidr-2/" +distfiles="http://www.taugh.com/grepcidr-2/${pkgname}-${version}.tjz>${pkgname}-${version}.tar.bz2" +checksum=6ff3ebf5c5d9e9a0aea995d3b9d416e76c32ac2a495bc1a2a3b400cb773be795 + +pre_build() { + export CFLAGS="$CFLAGS $LDFLAGS" +} + +do_install() { + vbin grepcidr + vman grepcidr.1 +}