net-misc/trickle: initial import
This commit is contained in:
parent
6666e890fa
commit
1384b4d0ef
23
packages/net-misc/trickle/files/fix-install.patch
Normal file
23
packages/net-misc/trickle/files/fix-install.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Source: Upstream issue tracker, https://github.com/mariusae/trickle/issues/16
|
||||||
|
Reason: fix installation
|
||||||
|
Upstream: no
|
||||||
|
|
||||||
|
--- trickle-66551ad94ad3d8af83e1e4422804676ac8762f47/Makefile.am 2017-10-25 01:20:13.943420040 +0200
|
||||||
|
+++ trickle-66551ad94ad3d8af83e1e4422804676ac8762f47/Makefile.am 2017-10-25 01:20:30.810419348 +0200
|
||||||
|
@@ -31,10 +31,14 @@
|
||||||
|
AM_CFLAGS = -Wall -Icompat @EVENTINC@
|
||||||
|
|
||||||
|
overloaddir = $(libdir)
|
||||||
|
-overload_DATA = libtrickle.so
|
||||||
|
|
||||||
|
-libtrickle.so: trickle-overload.c atomicio.c
|
||||||
|
-$(overload_DATA):
|
||||||
|
+libtrickle.so: trickle-overload.lo atomicio.lo
|
||||||
|
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la
|
||||||
|
+ -rpath $(libdir)/trickle trickle-overload.lo atomicio.lo $(LIBS)
|
||||||
|
+ $(LDFLAGS) -module -avoid-version -nostdlib -ldl
|
||||||
|
+ @rm -f libtmp$@.la tmp$@.so* $@
|
||||||
|
+ @cp .libs/libtmp$@.so $@
|
||||||
|
+ @rm -f .libs/libtmp$@.*
|
||||||
|
|
||||||
|
CLEANFILES = *.so
|
30
packages/net-misc/trickle/trickle-scm.exheres-0
Normal file
30
packages/net-misc/trickle/trickle-scm.exheres-0
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# 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.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"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-libs/libevent
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/fix-install.patch
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user