aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iptstate/APKBUILD
blob: f2531c3e8526387fc14e6b4caad16d63c0f2a0be (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
# 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="MIT"
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 || return 1
}

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"
sha256sums="4e4d881b701fc4599a252021d6ef579eb17aea711fbc07f95df61465b38e1055  iptstate-2.2.5.tar.bz2"
sha512sums="044bbcf96225cc52b82428792d685d19f964520f7f20a9d3fa7e53430c1f552c0f09338a5d347b08e2500206cd7634a6b4a3acffbfd9e59e4657afb6df461795  iptstate-2.2.5.tar.bz2"