From 25a2a99e4df571eca8de81e38b7afab62972e991 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 9 Dec 2012 20:21:56 +0100 Subject: + nfacct --- pcr/nfacct/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/nfacct/PKGBUILD (limited to 'pcr') diff --git a/pcr/nfacct/PKGBUILD b/pcr/nfacct/PKGBUILD new file mode 100644 index 000000000..88af2acb5 --- /dev/null +++ b/pcr/nfacct/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Alessandro Sagratini +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=nfacct +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Command line tool to create/retrieve/delete accounting objects." +arch=('i686' 'x86_64') +url="http://www.netfilter.org/projects/nfacct/index.html" +license=('GPL') +depends=('libnetfilter_acct') +options=(!libtool) +source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3