summaryrefslogtreecommitdiff
path: root/community/trickle
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/trickle
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/trickle')
-rw-r--r--community/trickle/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/trickle/PKGBUILD b/community/trickle/PKGBUILD
new file mode 100644
index 000000000..5b9844932
--- /dev/null
+++ b/community/trickle/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 39246 2011-02-07 19:18:47Z tdziedzic $
+# Contributor Romain Bouchaud-Leduc <r0m1.bl@camaris.org>
+
+pkgname=trickle
+pkgver=1.07
+pkgrel=5
+pkgdesc="Trickle - lightweight userspace bandwidth shaper"
+arch=('i686' 'x86_64')
+url="http://monkey.org/~marius/trickle"
+license=('BSD')
+depends=("libevent")
+source=("http://monkey.org/~marius/trickle/$pkgname-$pkgver.tar.gz")
+md5sums=('860ebc4abbbd82957c20a28bd9390d7d')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ sed -i "s|.*in_addr_t.*||g" config.h
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+}