summaryrefslogtreecommitdiffstats
path: root/iproute2/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 12:42:45 +0100
committerLukc <lukc@upyum.com>2010-12-12 12:42:45 +0100
commit95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452 (patch)
tree1615f206bb1382dbc197443f0da92e9e218517e2 /iproute2/Pkgfile
parent16da90245045a4899acf376dfbed7b734727a7c6 (diff)
downloadbase-95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452.tar.gz
base-95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452.tar.bz2
base-95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452.tar.xz
base-95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452.zip
Recette de iproute2 mise à jour.
Diffstat (limited to 'iproute2/Pkgfile')
-rw-r--r--iproute2/Pkgfile17
1 files changed, 8 insertions, 9 deletions
diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile
index 132bec2..409003c 100644
--- a/iproute2/Pkgfile
+++ b/iproute2/Pkgfile
@@ -1,19 +1,18 @@
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"
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
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)
+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
+ cd $name-$version;
+ sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile;
+ make;
+ make MANDIR=$mandir DESTDIR=$PKG install;
+ install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
}