# Maintainer: Natanael Copa pkgname=conntrack-tools pkgver=1.0.0 pkgrel=0 pkgdesc="Connection tracking userspace tools" url="http://conntrack-tools.netfilter.org" arch="all" license="GPL-2" subpackages="$pkgname-doc" depends= makedepends="pkgconfig libnfnetlink-dev libnetfilter_conntrack-dev bison flex" source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver.tar.bz2 conntrackd.initd conntrackd.confd " _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm755 ../conntrackd.initd "$pkgdir"/etc/init.d/conntrackd install -Dm644 ../conntrackd.confd "$pkgdir"/etc/conf.d/conntrackd install -Dm644 doc/stats/conntrackd.conf "$pkgdir"/etc/conntrackd } md5sums="5add24d4761baf17af630d5627a71752 conntrack-tools-1.0.0.tar.bz2 a97e0b7f1339d93caf929fb4767141e1 conntrackd.initd 8ebf3838b69d20e6bb4a173844502039 conntrackd.confd"