summaryrefslogtreecommitdiff
path: root/community/ipset/PKGBUILD
blob: 09eb63959c65de21531437e6338f3070c511f2f4 (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
# $Id: PKGBUILD 59646 2011-11-29 01:17:13Z seblu $
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>

pkgname=ipset
pkgver=6.10
pkgrel=1
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=('2dc677ab126269d09db5cd908c045591')

build() {
  cd $pkgname-$pkgver
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 ft=sh et: