/[gentoo-x86]/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
Gentoo

Contents of /net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Aug 1 18:48:38 2014 UTC (6 years, 4 months ago) by tgall
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
arm64, initial support

(Portage version: 2.2.8-r1/cvs/Linux aarch64, signed Manifest commit with key EDA949AA)

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/libnfnetlink/libnfnetlink-1.0.1.ebuild,v 1.8 2013/02/08 06:44:16 vapier Exp $
4
5 EAPI=4
6 inherit linux-info eutils
7
8 DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
9 HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
10 SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
15 IUSE="static-libs"
16
17 DOCS=( README )
18
19 pkg_setup() {
20 linux-info_pkg_setup
21
22 if kernel_is lt 2 6 18 ; then
23 ewarn "${PN} requires at least 2.6.18 kernel version"
24 fi
25
26 #netfilter core team has changed some option names with kernel 2.6.20
27 error_common=' is not set when it should be. You can activate it in the Core Netfilter Configuration'
28 if kernel_is lt 2 6 20 ; then
29 CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
30 ERROR_IP_NF_CONNTRACK_NETLINK="CONFIG_IP_NF_CONNTRACK_NETLINK:\t${error_common}"
31 else
32 CONFIG_CHECK="~NF_CT_NETLINK"
33 ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t${error_common}"
34 fi
35
36 check_extra_config
37 }
38
39 src_configure() {
40 econf $(use_enable static-libs static)
41 }
42
43 src_install() {
44 default
45 prune_libtool_files
46 }

  ViewVC Help
Powered by ViewVC 1.1.20