diff options
Diffstat (limited to 'iproute2/Pkgfile')
-rw-r--r-- | iproute2/Pkgfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile new file mode 100644 index 0000000..132bec2 --- /dev/null +++ b/iproute2/Pkgfile @@ -0,0 +1,19 @@ +description="A collection of utilites for controlling TCP/IP networking and traffic in Linux" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" +depends=(db) + +name=iproute2 +version=2.6.35 +release=1 +source=(http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-2.6.35.tar.bz2 net.iproute2) +build () +{ + cd $name-$version; + sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile; + make; + make MANDIR=/usr/man DESTDIR=$PKG install; + rm -r $PKG/share; + install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net +} |