/[gentoo-x86]/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.2.ebuild
Gentoo

Contents of /net-libs/libnetfilter_acct/libnetfilter_acct-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Aug 13 16:52:29 2014 UTC (6 years, 3 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Keyword ~ppc64, but #450016

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.2.ebuild,v 1.6 2014/06/18 14:58:10 klausman Exp $
4
5 EAPI=5
6
7 inherit eutils linux-info multilib
8
9 DESCRIPTION="Userspace library providing interface to extended accounting infrastructure of NetFilter"
10 HOMEPAGE="http://netfilter.org/projects/libnetfilter_acct"
11 SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 x86 ~amd64-linux"
16 IUSE="examples"
17
18 RDEPEND="net-libs/libmnl"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 DOCS=( README )
23 CONFIG_CHECK="~NETFILTER_NETLINK_ACCT"
24
25 pkg_setup() {
26 kernel_is lt 3 3 && ewarn "This package will work with kernel version 3.3 or higher"
27 linux-info_pkg_setup
28 }
29
30 src_configure() {
31 econf \
32 --libdir="${EPREFIX}"/$(get_libdir)
33 }
34
35 src_install() {
36 default
37 dodir /usr/$(get_libdir)/pkgconfig/
38 mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/${PN}.pc || die
39
40 if use examples; then
41 find examples/ -name "Makefile*" -exec rm -f '{}' + || die 'find failed'
42 dodoc -r examples/
43 docompress -x /usr/share/doc/${P}/examples
44 fi
45
46 prune_libtool_files
47 }

  ViewVC Help
Powered by ViewVC 1.1.20