2008-09-19 12:09:41 +02:00
|
|
|
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
|
2009-12-30 18:04:52 +01:00
|
|
|
# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
2008-09-19 12:09:41 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: db
|
2006-12-19 21:45:51 +01:00
|
|
|
|
|
|
|
name=iproute2
|
2009-12-30 18:04:52 +01:00
|
|
|
version=2.6.31
|
2007-02-20 23:09:27 +01:00
|
|
|
release=1
|
2009-12-30 18:04:52 +01:00
|
|
|
source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 \
|
2008-09-19 12:09:41 +02:00
|
|
|
net.iproute2)
|
2006-12-19 21:45:51 +01:00
|
|
|
|
|
|
|
build() {
|
2008-09-19 12:09:41 +02:00
|
|
|
cd $name-$version
|
2009-12-30 18:04:52 +01:00
|
|
|
sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile
|
2008-09-19 12:09:41 +02:00
|
|
|
make
|
2009-01-21 10:12:02 +01:00
|
|
|
make MANDIR=/usr/man DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/{share,usr/lib}
|
2008-09-19 12:09:41 +02:00
|
|
|
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
2006-12-19 21:45:51 +01:00
|
|
|
}
|