| # 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 |
| } |