summaryrefslogtreecommitdiff
path: root/community/libnftnl/PKGBUILD
blob: b418a23663e957b7bd4b11e40bb6483ce001d63d (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
# $Id$
# Maintainer: Sébastien Luttringer

pkgname=libnftnl
pkgver=1.0.2
pkgrel=1
pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
arch=('i686' 'x86_64')
url='http://netfilter.org/projects/libnftnl/'
license=('GPL2')
depends=('libmnl')
source=("http://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig})
sha1sums=('19b6903b3dc2a86cc13bb560ae55f779b92cae69'
          'SKIP')

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

check() {
  cd $pkgname-$pkgver
  make check
}

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

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