contrib/trickle/Pkgfile
Han Boetes 5791ba79bc trickle: simply removing the conflicting header, just like in the
debian patch also fixes the problem. And they needed a 1MB patch
for that!
2006-11-16 23:45:29 +01:00

22 lines
509 B
Plaintext

# Description: lightweight userspace bandwidth shaper
# URL: http://monkey.org/~marius/trickle/
# Maintainer: Han Boetes <han@mijncomputer.nl>
# Packager: Han Boetes <han@mijncomputer.nl>
# Depends on: libevent
name=trickle
version=1.07
release=1
source="http://monkey.org/~marius/trickle/$name-$version.tar.gz"
build()
{
cd $name-$version
sed -i '/#include <netinet\/in.h>/d' *.c
./configure \
--prefix=/usr \
--disable-nls
make
make install DESTDIR=$PKG
}