diff options
-rw-r--r-- | testing/ipgrab/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ipgrab/APKBUILD b/testing/ipgrab/APKBUILD new file mode 100644 index 0000000000..778fc1bee6 --- /dev/null +++ b/testing/ipgrab/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=ipgrab +pkgver=0.9.8 +pkgrel=0 +pkgdesc="A verbose packet sniffer for hosts" +url="http://ipgrab.sourceforge.net/" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="libpcap-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/ipgrab/ipgrab-$pkgver.tar.gz" +_builddir="$srcdir"/ipgrab-$pkgver + +build() { + cd "$_builddir" + ./configure ÂÂÂ\ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="73404aeee6e8c07b6b7d260ffe80b692 ipgrab-0.9.8.tar.gz" |