blob: 891c61daca15dbcb63d2069e7cb1aa7e5b1dcf1e (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils autotools
DESCRIPTION="Userspace utilities for layer 7 iptables QoS"
HOMEPAGE="http://l7-filter.clearfoundation.com/"
SRC_URI="mirror://sourceforge/l7-filter/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
DEPEND=">=net-libs/libnetfilter_conntrack-0.0.100
net-libs/libnetfilter_queue"
RDEPEND="net-misc/l7-protocols
${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${P}-map-access-threadsafe.patch"
epatch "${FILESDIR}/${P}-arm-ppc-getopt-help-fix.patch"
epatch "${FILESDIR}/${P}-libnetfilter_conntrack-0.0.100.patch"
epatch "${FILESDIR}/${P}-pattern-loading-leak.patch"
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install
dodoc README TODO BUGS THANKS AUTHORS
}
|