diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /iputils/Pkgfile | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
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..b7dde48 --- /dev/null +++ b/iputils/Pkgfile @@ -0,0 +1,22 @@ +description="Basic networking applet" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.linux-foundation.org/en/Net:Iputils" +depends=(sysfsutils) + +name=iputils +version=s20101006 +release=1 +source=(http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2 http://crux.nu/files/distfiles/iputils-man-s20101006.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 +} |