From f24de70eaa799f85e1c15ed3f00e059a9fa80fa0 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 2 Aug 2012 09:22:49 +0000 Subject: main/libnetfilter_acct: new aport Userspace library providing interface to extended accounting infrastructure --- main/libnetfilter_acct/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 main/libnetfilter_acct/APKBUILD (limited to 'main/libnetfilter_acct') diff --git a/main/libnetfilter_acct/APKBUILD b/main/libnetfilter_acct/APKBUILD new file mode 100644 index 0000000000..0883cc0e07 --- /dev/null +++ b/main/libnetfilter_acct/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: +# Maintainer: Leonardo Arena +pkgname=libnetfilter_acct +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Userspace library providing interface to extended accounting infrastructure." +url="http://www.netfilter.org/projects/libnetfilter_conntrack/" +arch="all" +license="GPL-2" +depends= +makedepends="libnfnetlink-dev libmnl-dev pkgconfig" +subpackages="$pkgname-dev" +source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la +} + +md5sums="246e97feb9cf98f7ddf70d71a3813336 libnetfilter_acct-1.0.0.tar.bz2" -- cgit v1.2.3