summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/nfacct/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
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 <ale_sagra@hotmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+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: