diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-08-24 08:47:32 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-08-24 08:47:32 +0200 |
commit | b306c0d4f73c0da28fc580057f2f0debffae842c (patch) | |
tree | 66208ae3a9d302a67421dc69fc6257ade1e88c46 /net-libs | |
parent | www-client/opera-developer: Old. (diff) | |
download | gentoo-b306c0d4f73c0da28fc580057f2f0debffae842c.tar.gz gentoo-b306c0d4f73c0da28fc580057f2f0debffae842c.tar.bz2 gentoo-b306c0d4f73c0da28fc580057f2f0debffae842c.zip |
net-libs/libnetfilter_acct: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnetfilter_acct/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/libnetfilter_acct/Manifest b/net-libs/libnetfilter_acct/Manifest index 0d9a37709058..6a42553d36e9 100644 --- a/net-libs/libnetfilter_acct/Manifest +++ b/net-libs/libnetfilter_acct/Manifest @@ -1 +1,2 @@ DIST libnetfilter_acct-1.0.2.tar.bz2 292718 SHA256 0128f19c3419fbd84f7e6d46b13a33ef7bda9b9f5e493bc5ae1882d087514b71 SHA512 6bd299d509736ce3335e051137851d7f1a3751eafa380b55e9c73a25afb5d45c904ce9acefd4f934f1d21f2ff85b06faed4b072dc74d74e3a8b93342d59f5cdf WHIRLPOOL 00f178afa4720d0ebfa0af2bce14d386d756940eedced27d4a58c68d6593627e70126f8f65bbe73fd8ace8e4200ebd774237c2fc7fda2029f5f7e4a3738e688a +DIST libnetfilter_acct-1.0.3.tar.bz2 296999 SHA256 4250ceef3efe2034f4ac05906c3ee427db31b9b0a2df41b2744f4bf79a959a1a SHA512 5ca332840663941182343fdc0d5e45116bba71a97a913db0b385ea37ef31a04f8267a2279b7a2862ce338c6eeb093bb3ef9908f57770e64acf5d2b2266d3bfe5 WHIRLPOOL 4b0284b5b50e2d10997b7225960073cbe9c3a03fe3402cfa6b442dd511ae1b362b6d2384ec5cd433e0f0f75491e8df98d2262edfa75648179a101eca107288e3 diff --git a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild new file mode 100644 index 000000000000..50f610c059ec --- /dev/null +++ b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils linux-info multilib + +DESCRIPTION="Userspace library providing interface to extended accounting infrastructure of NetFilter" +HOMEPAGE="http://netfilter.org/projects/libnetfilter_acct" +SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="examples" + +RDEPEND=" + net-libs/libmnl +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( README ) +CONFIG_CHECK="~NETFILTER_NETLINK_ACCT" + +pkg_setup() { + kernel_is lt 3 3 && ewarn "This package will work with kernel version 3.3 or higher" + linux-info_pkg_setup +} + +src_configure() { + econf \ + --libdir="${EPREFIX}"/$(get_libdir) +} + +src_install() { + default + + dodir /usr/$(get_libdir)/pkgconfig/ + mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/${PN}.pc || die + + if use examples; then + find examples/ -name "Makefile*" -exec rm -f '{}' + || die 'find failed' + dodoc -r examples/ + docompress -x /usr/share/doc/${P}/examples + fi + + prune_libtool_files +} |