diff options
Diffstat (limited to 'community/ipset/PKGBUILD')
-rw-r--r-- | community/ipset/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/ipset/PKGBUILD b/community/ipset/PKGBUILD new file mode 100644 index 000000000..edabb23c9 --- /dev/null +++ b/community/ipset/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 59544 2011-11-28 00:43:00Z seblu $ +# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> + +pkgname=ipset +pkgver=6.9.1 +pkgrel=2 +pkgdesc='Administration tool for IP sets' +arch=('i686' 'x86_64') +url='http://ipset.netfilter.org' +license=('GPL2') +depends=('libmnl') +makedepends=('linux-headers') +source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2") +md5sums=('71f4b826e025be5918a52e9843673167') + +build() { + cd $pkgname-$pkgver + ./autogen.sh + ./configure --prefix=/usr --with-kbuild=/lib/modules/$(pacman -Qi linux-headers|sed -rn 's,Version[[:space:]]*:[[:space:]]*(.*),\1,p')-ARCH/build + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 ft=sh et: |