hasufell-repository/packages/net-misc/trickle/trickle.exlib

38 lines
920 B
Bash
Raw Normal View History

2019-09-01 19:22:26 +00:00
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=mariusae ]
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
SUMMARY="Trickle is a userland bandwidth shaper for Unix-like systems"
DESCRIPTION="
Trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible.
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf
"
LICENCES="BSD-3"
SLOT="0"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-libs/libevent:=
2020-10-15 11:16:02 +00:00
net-libs/libtirpc
2019-09-01 19:22:26 +00:00
"
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/fix-install.patch
)
2020-10-15 11:16:02 +00:00
src_prepare(){
CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
LDFLAGS+=" -ltirpc"
autotools_src_prepare
}