21 lines
568 B
Bash
21 lines
568 B
Bash
|
# 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 <chneukirchen@gmail.com>"
|
||
|
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
|
||
|
}
|