summaryrefslogtreecommitdiffstats
path: root/iproute2/Pkgfile.old
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /iproute2/Pkgfile.old
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'iproute2/Pkgfile.old')
-rw-r--r--iproute2/Pkgfile.old19
1 files changed, 19 insertions, 0 deletions
diff --git a/iproute2/Pkgfile.old b/iproute2/Pkgfile.old
new file mode 100644
index 0000000..e2ca5ba
--- /dev/null
+++ b/iproute2/Pkgfile.old
@@ -0,0 +1,19 @@
+# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
+# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: db
+
+name=iproute2
+version=2.6.35
+release=1
+source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.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
+}