core/iproute2/Pkgfile

19 lines
638 B
Plaintext
Raw Normal View History

# Description: a collection of utilites for controlling TCP/IP networking and traffic in Linux
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Maintainer: Simone Rota, sip at crux dot nu
# Packager: Mikhail Kolesnik, mike at openbunker dot org
name=iproute2
version=2.6.18-061002
release=2
source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.gz \
net.iproute2)
build() {
cd $name-$version
make KERNEL_INCLUDE="/lib/modules/`uname -r`/source/include"
make SBINDIR=/sbin MANDIR=/usr/man DESTDIR=$PKG install
rm -rf $PKG/usr/share
install -D -o root -g root -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
}