aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipgrab/APKBUILD
blob: 778fc1bee64ba4bf50952c351d446facb365a063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"