# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=ipset pkgver=7.3 pkgrel=0 pkgdesc="Manage Linux IP sets" url="http://ipset.netfilter.org/" arch="all" license="GPL-2.0" depends_dev="libmnl-dev" makedepends="$depends_dev automake autoconf libtool linux-headers" subpackages="$pkgname-dev $pkgname-doc" source="http://ipset.netfilter.org/ipset-$pkgver.tar.bz2 ipset.initd" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --with-kmod=no \ --prefix=/usr make } package() { cd "$builddir" make install DESTDIR=$pkgdir mkdir -p "$pkgdir/etc/init.d" \ "$pkgdir/etc/ipset.d" install -m 755 "$startdir/ipset.initd" "$pkgdir/etc/init.d/ipset" } sha512sums="8ad532c370a738e8bd70f118f109ba95683f781d754b9001980e7151fd15ee05da913a8e08ce597ba7173124d650ad4bb0936d6528f8dd657aaa28e27ab472c4 ipset-7.3.tar.bz2 c7d3344ce879ff3b21f9e30a00d49a41cbd68172aec1a933a4b501dded54e3c57615386850901da22c652a34bcbe39caac86a3a0447da24bae29b40632153239 ipset.initd"