net-misc/trickle: add ebuild

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Anton Schubert 2018-07-21 15:34:34 +02:00
parent a756a2332c
commit 17e11b7f2e
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic
DESCRIPTION="A portable lightweight userspace bandwidth shaper"
HOMEPAGE="http://monkey.org/~marius/pages/?page=trickle"
SRC_URI="https://sourceforge.net/projects/trickled/files/trickle-${PV}.tar.gz/download -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror"
DEPEND="
dev-libs/libevent
net-libs/libtirpc
"
RDEPEND="${DEPEND}"
src_configure() {
append-cppflags -I/usr/include/tirpc/
append-ldflags -ltirpc
econf
}