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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jul 18 13:07:55 2014 UTC (2 weeks ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Fix <longdescription>.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2012 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.0.ebuild,v 1.5 2012/12/13 17:36:06 pinkbyte Exp $
4
5 EAPI=4
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="~amd64 ~x86"
16 IUSE="examples"
17
18 RDEPEND="net-libs/libmnl"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 CONFIG_CHECK="~NETFILTER_NETLINK_ACCT"
23
24 pkg_setup() {
25 kernel_is lt 3 3 && ewarn "This package will work with kernel version 3.3 or higher"
26 linux-info_pkg_setup
27 }
28
29 src_configure() {
30 econf \
31 --libdir="${EPREFIX}"/$(get_libdir)
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install
36 dodir /usr/$(get_libdir)/pkgconfig/
37 mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/${PN}.pc || die
38 dodoc README
39
40 if use examples; then
41 find examples/ -name "Makefile*" -exec rm -f '{}' +
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