blob: 7eab154fe336acc6366f5da60b9f4db39a924618 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/snitch/snitch-0.0.1.ebuild,v 1.8 2008/07/27 08:39:41 ford_prefect Exp $
inherit eutils
DESCRIPTION="Snitch is a powerful packetshaping utility that allows the user to easily harness the power of the Linux tc command to shape network traffic"
HOMEPAGE="http://snitch.sourceforge.net/"
SRC_URI="mirror://sourceforge/snitch/${P}.tar.gz"
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="${DEPEND}
>=net-firewall/iptables-1.2.9-r1
sys-apps/iproute2"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gcc-4.3.patch"
}
src_compile() {
emake || die "emake failed"
}
src_install() {
dosbin snitch
doman snitch.1
dodoc README docs/* sample_configs/*
}
|