aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iptstate/APKBUILD
blob: 2b27a8be109862f51f2d250b9b533f2b431f3b4c (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=iptstate
pkgver=2.2.5
pkgrel=0
pkgdesc="top-like interface to netfilter connection-tracking table"
url="http://www.phildev.net/iptstate/"
arch="all"
license="custom"
depends=""
depends_dev="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	make
}

package() {
	cd "$_builddir"
	install -D -m755 $pkgname "$pkgdir"/usr/sbin/$pkgname
	install -D -m444 $pkgname.8 "$pkgdir"/usr/share/man/man8/$pkgname.8
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

md5sums="5abe47e473bee256adaf8a48b1141a90  iptstate-2.2.5.tar.bz2"