milis/talimatname/temel/iproute2/talimat

28 lines
619 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Programs for basic and advanced network routing.
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Paketçi: milisarge
# Gerekler:
isim=iproute2
surum=4.4.0
devir=1
kaynak=(http://www.kernel.org/pub/linux/utils/net/$isim/iproute2-$surum.tar.xz)
derle()
{
cd iproute2-$surum
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
make SBINDIR=/sbin \
INFODIR=/usr/share/info DESTDIR=$PKG \
install
rm -rf $PKG/usr/share/info/dir
}