summaryrefslogtreecommitdiffstats
path: root/testing/netstat-nat/APKBUILD
blob: 4adecd9b3aeea32e42e4d900e210b6092126f781 (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
36
37
38
39
40
# Contributor: Marcin Mankiewicz <marcin.mankiewicz@interrisk.pl>
# Maintainer:
pkgname=netstat-nat
pkgver=1.4.10
pkgrel=0
pkgdesc="Netstat-nat displays NAT connections, managed by netfilter/iptables which comes with the > 2.4.x linux kernels."
url="http://tweegy.nl/projects/netstat-nat/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="http://tweegy.nl/download/netstat-nat-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

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"
	./configure
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir"
}
md5sums="c1bbb3ee9774ebfa27c440e2d9dd7286  netstat-nat-1.4.10.tar.gz"
sha256sums="e945faa283a49f33af15de915a949c9273a230fc17154925364c547adab676ca  netstat-nat-1.4.10.tar.gz"
sha512sums="2089119b26039e656fbe76701e556f7d766159c96b18968195f255e15072af37972c83a8f05edb0b767a12f0521598975673d10d8ba5e6ed6b754a927d4f069d  netstat-nat-1.4.10.tar.gz"