name=iputils
version=s20151218
-release=1
+release=2
source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2
http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
sed -e "s|arping.o -lsysfs|arping.o $CLFS/usr/lib/libsysfs.so|" \
-e 's/IPV6_TARGETS=*/IPV6_TARGETS=/' -i Makefile
- make CC="$CC" CFLAGS="$CFLAGS $CCOPT -I$CLFS/usr/include" USE_GNUTLS=no
+ make CC="$CC" CFLAGS="$CFLAGS $CCOPT -I$CLFS/usr/include" USE_GCRYPT=no USE_GNUTLS=no
install -d $PKG/{{s,}bin,usr/{sbin,share/man/man8}}
install ping $PKG/bin/