mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
22 lines
680 B
Bash
22 lines
680 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor Romain Bouchaud-Leduc <r0m1.bl@camaris.org>
|
|
|
|
pkgname=trickle
|
|
pkgver=1.07
|
|
pkgrel=3
|
|
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
|
|
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
|
|
}
|