| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit eutils autotools |
| 8 |
|
| 9 |
DESCRIPTION="Userspace utilities for layer 7 iptables QoS" |
| 10 |
HOMEPAGE="http://l7-filter.clearfoundation.com/" |
| 11 |
SRC_URI="mirror://sourceforge/l7-filter/${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="GPL-2" |
| 14 |
KEYWORDS="~amd64 ~x86" |
| 15 |
IUSE="" |
| 16 |
SLOT="0" |
| 17 |
DEPEND=">=net-libs/libnetfilter_conntrack-0.0.100 |
| 18 |
net-libs/libnetfilter_queue" |
| 19 |
RDEPEND="net-misc/l7-protocols |
| 20 |
${DEPEND}" |
| 21 |
|
| 22 |
src_prepare() { |
| 23 |
epatch "${FILESDIR}/${P}-map-access-threadsafe.patch" |
| 24 |
epatch "${FILESDIR}/${P}-arm-ppc-getopt-help-fix.patch" |
| 25 |
epatch "${FILESDIR}/${P}-libnetfilter_conntrack-0.0.100.patch" |
| 26 |
epatch "${FILESDIR}/${P}-pattern-loading-leak.patch" |
| 27 |
eautoreconf |
| 28 |
} |
| 29 |
|
| 30 |
src_install() { |
| 31 |
emake DESTDIR="${D}" install |
| 32 |
dodoc README TODO BUGS THANKS AUTHORS |
| 33 |
} |