summaryrefslogtreecommitdiff
path: root/net-firewall/xtables-addons/xtables-addons-9999.ebuild
blob: 501b98a035a8d5dbfd1ef59fc05ae72a087ed6cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild,v 1.1 2009/04/06 18:47:54 pva Exp $

inherit eutils toolchain-funcs git

DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools (addons)"
HOMEPAGE="http://www.iptables.org/"
SRC_URI=""

EGIT_REPO_URI="git://xtables-addons.git.sf.net/gitroot/xtables-addons"
EGIT_BOOTSTRAP="./autogen.sh"

LICENSE="GPL-2"
SLOT=""
KEYWORDS=""
IUSE=""

DEPEND="virtual/os-headers
	${RDEPEND}
"
RDEPEND="net-firewall/iptables"

src_unpack() {
	git_src_unpack
}

src_compile() {
	econf \
		--sbindir=/sbin \
		--libexecdir=/$(get_libdir) \
		--enable-shared \
		--enable-static
	emake V=1 || die
}

src_install() {
	emake install DESTDIR="${D}" || die
}