/[gentoo-x86]/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.3.ebuild
Gentoo

Contents of /net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Jul 6 17:05:04 2013 UTC (7 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Stable for alpha, wrt bug #474268

(Portage version: 2.1.12.2/cvs/Linux ppc64, RepoMan options: --include-arches="alpha", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.3.ebuild,v 1.9 2013/06/29 19:24:09 ago Exp $
4
5 EAPI=5
6 inherit autotools-utils linux-info
7
8 DESCRIPTION="programming interface (API) to the in-kernel connection tracking state table"
9 HOMEPAGE="http://www.netfilter.org/projects/libnetfilter_conntrack/"
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 hppa ia64 ppc ppc64 sparc x86"
15 IUSE="static-libs"
16
17 RDEPEND="
18 >=net-libs/libmnl-1.0.3
19 >=net-libs/libnfnetlink-1.0.0
20 "
21 DEPEND="
22 ${RDEPEND}
23 virtual/pkgconfig
24 "
25
26 DOCS=( README )
27
28 pkg_setup() {
29 linux-info_pkg_setup
30
31 if kernel_is lt 2 6 18 ; then
32 die "${PN} requires at least 2.6.18 kernel version"
33 fi
34
35 #netfilter core team has changed some option names with kernel 2.6.20
36 if kernel_is lt 2 6 20 ; then
37 CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
38 else
39 CONFIG_CHECK="~NF_CT_NETLINK"
40 fi
41
42 check_extra_config
43 }

  ViewVC Help
Powered by ViewVC 1.1.20