blob: e566cd09e5bffda301749042f2864c9d9b338a92 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit base
DESCRIPTION="a portable lightweight userspace bandwidth shaper"
HOMEPAGE="http://monkey.org/~marius/pages/?page=trickle"
SRC_URI="ftp://ftp.debian.org/debian/pool/main/t/trickle/trickle_${PV}.orig.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror"
DEPEND="dev-libs/libevent"
RDEPEND="${DEPEND}"
src_compile() {
base_src_compile configure
sed -i '/#define in_addr_t/ s:^://:' config.h
emake -j1 || die "make failed"
}
|