milis/talimatname/temel/iproute2/talimat

27 lines
662 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Programs for basic and advanced network routing.
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Packager: pierre at nutyx dot org
PKGMK_GROUPS=(devel man doc)
name=iproute2
version=4.4.0
release=1
source=(http://www.kernel.org/pub/linux/utils/net/$name/iproute2-$version.tar.xz)
build()
{
cd iproute2-$version
sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
sed -i /ARPD/d Makefile
sed -i 's/arpd.8//' man/man8/Makefile
sed -i 's/tipc //' Makefile
make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
DESTDIR=$PKG
2016-03-07 13:45:49 +01:00
make SBINDIR=/sbin \
2016-02-24 01:27:23 +01:00
INFODIR=/usr/share/info DESTDIR=$PKG \
2016-03-07 13:45:49 +01:00
install
2016-02-24 01:27:23 +01:00
rm -rf $PKG/usr/share/info/dir
2016-03-07 13:45:49 +01:00
}