38 lines
896 B
Plaintext
38 lines
896 B
Plaintext
# Template file for 'ngrep'
|
|
pkgname=ngrep
|
|
version=1.45
|
|
revision=1
|
|
hostmakedepends="automake pkg-config"
|
|
makedepends="pcre-devel libpcap-devel openssl-devel"
|
|
short_desc="grep-like utility for network interfaces"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://ngrep.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7
|
|
long_desc="
|
|
tcpdump is a powerful command-line packet analyzer."
|
|
|
|
do_configure() {
|
|
autoreconf -fi
|
|
export EXTRA_INCLUDES="$(pcre-config --cflags)"
|
|
export EXTRA_LIBS="$(pcre-config --libs)"
|
|
|
|
./configure ${CONFIGURE_SHARED_ARGS} --with-pcap-includes=/usr/include/pcap \
|
|
--enable-ipv6 --enable-pcre
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|
|
|
|
ngrep_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|