# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=netsniff-ng pkgver=0.5.5.0 pkgrel=0 pkgdesc="A network analyzer and networking toolkit" url="http://netsniff-ng.org/" arch="all" license="GPL2" depends="" depends_dev="" makedepends="" install="" subpackages="$pkgname-doc" source="http://www.netsniff-ng.org/pub/netsniff-ng/$pkgname-$pkgver.tar.gz netsniff-ng-unkown.patch" _builddir="$srcdir"/$pkgname prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make -C src || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install -C src || return 1 } md5sums="bd303bdeb7244bb1e4e966b94f7671c4 netsniff-ng-0.5.5.0.tar.gz e3593dead3b91eb42cef984bae75320b netsniff-ng-unkown.patch"