opt/iproute2/Pkgfile
Simone Rota a2afce8c04 [notify] iproute2: updated to 2.6.18-061002, changed sbin location
We now use /sbin instead of /usr/sbin for iproute2 binaries,
you may need to adjust your configuration to reflect the change.
2006-11-14 13:36:41 +01:00

19 lines
640 B
Plaintext

# 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=1
source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i -e "s|SBINDIR=/usr/sbin|SBINDIR=/sbin|" Makefile
sed -i -e "s|MANDIR=/usr/share/man|MANDIR=/usr/man|" Makefile
make KERNEL_INCLUDE="/lib/modules/`uname -r`/source/include"
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
}