25 lines
808 B
Plaintext
25 lines
808 B
Plaintext
# Description: Basic networking applet
|
|
# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libcap openssl
|
|
|
|
name=iputils
|
|
version=s20151218
|
|
release=2
|
|
source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2
|
|
http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
make USE_GCRYPT=no USE_GNUTLS=no CCOPTOPT="$CFLAGS"
|
|
|
|
install -d $PKG/{{s,}bin,usr/{bin,sbin,share/man/man8}}
|
|
install ping{,6} $PKG/bin/
|
|
install arping $PKG/sbin/
|
|
install tracepath{,6} clockdiff rarpd rdisc $PKG/usr/sbin/
|
|
install traceroute6 $PKG/usr/bin/
|
|
cp -d $SRC/$name-man-$version/* $PKG/usr/share/man/man8
|
|
chmod u+s $PKG/bin/ping{,6} $PKG/usr/bin/traceroute6
|
|
}
|