X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=net-misc%2Ftrickle%2Ftrickle-1.06.ebuild;fp=net-misc%2Ftrickle%2Ftrickle-1.06.ebuild;h=50e908cb57b748f6f5a26da0a5adfd968a1ecfa1;hb=0b6a232d668c9d7bea9c074f1a12a0ce1e183490;hp=0000000000000000000000000000000000000000;hpb=fa811a2f6126086d81a984b5c266391350a452d2;p=overlay.git diff --git a/net-misc/trickle/trickle-1.06.ebuild b/net-misc/trickle/trickle-1.06.ebuild new file mode 100644 index 0000000..50e908c --- /dev/null +++ b/net-misc/trickle/trickle-1.06.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils autotools + +DESCRIPTION="portable lightweight userspace bandwidth shaper" +HOMEPAGE="http://monkey.org/~marius/pages/?page=trickle" +SRC_URI="http://monkey.org/~marius/trickle/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-libs/libevent" + +src_prepare() { + epatch "${FILESDIR}/${P}-libobjs.diff" + epatch "${FILESDIR}/${P}-overloadDATA.diff" + epatch "${FILESDIR}/${P}-automake-cflags.diff" + epatch "${FILESDIR}/${P}-in_addr_t.diff" + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install +}