From 79a2d3b7b73217152104131320c114deb6a9306b Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 14:34:45 +0100 Subject: Recette de iputils ajoutée. NOTE: N’a pas compilé chez moi, et footprint probablement incorrect. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iputils/Pkgfile.old | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 iputils/Pkgfile.old (limited to 'iputils/Pkgfile.old') diff --git a/iputils/Pkgfile.old b/iputils/Pkgfile.old new file mode 100644 index 0000000..abab4c5 --- /dev/null +++ b/iputils/Pkgfile.old @@ -0,0 +1,24 @@ +# Description: Basic networking applet +# URL: http://www.linux-foundation.org/en/Net:Iputils +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: sysfsutils + +name=iputils +version=s20101006 +release=1 +source=(http://www.skbuff.net/iputils/$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 + + install -d $PKG/{{s,}bin,usr/{man/man8,sbin}} + install ping{,6} $PKG/bin/ + install arping $PKG/sbin/ + install tracepath{,6} traceroute6 clockdiff rarpd rdisc $PKG/usr/sbin/ + cp -d $SRC/$name-man-$version/* $PKG/usr/man/man8 + chmod u+s $PKG/bin/ping{,6} $PKG/usr/sbin/traceroute6 +} -- cgit v1.2.3-54-g00ecf