aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipgrab/APKBUILD
blob: d808fdbf97bfda6162a9aefed56f4c0b1864b071 (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
35
# 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
}

md5sums="73404aeee6e8c07b6b7d260ffe80b692  ipgrab-0.9.8.tar.gz"
sha256sums="f56c2be55fa42f0a508a83d99349834aaaaab7ad2f2fd73504b9e17b999b7901  ipgrab-0.9.8.tar.gz"
sha512sums="d796c65bb4e0b2f71fc8c91dd257ea654bff514fd8f6efcc1bc4b733be21e91e2d6facc3c1867750ea6416bbbd1835e51d8c923f83abd955f8aa62b972414ca7  ipgrab-0.9.8.tar.gz"