diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 14:34:45 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 14:34:45 +0100 |
commit | 79a2d3b7b73217152104131320c114deb6a9306b (patch) | |
tree | 74ad7f921120fbb83544ba2dc7fe2533759d1f49 /iputils/Pkgfile | |
parent | 33487bcc173f593e4310d18b093e785eb919e475 (diff) | |
download | opt-79a2d3b7b73217152104131320c114deb6a9306b.tar.gz opt-79a2d3b7b73217152104131320c114deb6a9306b.tar.bz2 opt-79a2d3b7b73217152104131320c114deb6a9306b.tar.xz opt-79a2d3b7b73217152104131320c114deb6a9306b.zip |
Recette de iputils ajoutée.
NOTE: N’a pas compilé chez moi, et footprint probablement incorrect.
Diffstat (limited to 'iputils/Pkgfile')
-rw-r--r-- | iputils/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/iputils/Pkgfile b/iputils/Pkgfile new file mode 100644 index 0000000..06754e9 --- /dev/null +++ b/iputils/Pkgfile @@ -0,0 +1,22 @@ +description="Basic networking applet." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://www.linux-foundation.org/en/Net:Iputils" +depends=(sysfsutils) + +name=iputils +version=s20101006 +release=1 +source=(http://www.skbuff.net/$name/$name-$version.tar.bz2 http://crux.nu/files/distfiles/$name-man-$version.tar.xz) +build () +{ + cd $name-$version; + sed -i "/^CCOPT=/s|-O2|$CFLAGS|;s| -g$||" Makefile; + make; ## FIXME : Not portable \/ + install -d $PKG/{{s,}bin,$prefix/{share/man/man8,sbin}}; + install ping{,6} $PKG/bin/; + install arping $PKG/sbin/; + install tracepath{,6} traceroute6 clockdiff rarpd rdisc $PKG$prefix/sbin/; + cp -d $SRC/$name-man-$version/* $PKG$mandir/man8; + chmod u+s $PKG/bin/ping{,6} $PKG$prefix/sbin/traceroute6 +} |