28 lines
589 B
Bash
28 lines
589 B
Bash
# 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
|
|
}
|