iproute2: removed unnecessary sed'ing in Pkgfile

This commit is contained in:
Simone Rota 2006-11-15 12:03:59 +01:00
parent a53b2ccb52
commit de8692b30a

View File

@ -1,4 +1,4 @@
# Description: a collection of utilites for controlling TCP/IP networking and traffic in Linux
x# 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
@ -10,9 +10,7 @@ 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
make SBINDIR=/sbin MANDIR=/usr/man DESTDIR=$PKG install
rm -rf $PKG/usr/share
}