X-Git-Url: http://gitweb/?a=blobdiff_plain;f=iputils%2FPkgfile;h=98712644a7dcd0360fbe033c47153fef86ddcf52;hb=fa6cd34777268040e8d88ae86dcdaa984a3a8710;hp=bde286bbe3f2e98dd5536897adafdcccb49aca19;hpb=83e7e2d09802b3a99d4eda97a03cad72a1b1039a;p=crossrootfs.git diff --git a/iputils/Pkgfile b/iputils/Pkgfile index bde286b..9871264 100644 --- a/iputils/Pkgfile +++ b/iputils/Pkgfile @@ -2,28 +2,26 @@ # URL: http://www.linux-foundation.org/en/Net:Iputils # Maintainer: CRUX System Team, core-ports at crux dot nu # Packager: Juergen Daubert, juergen dot daubert at t-online dot de -# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu -# Depends on: +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: sysfsutils openssl libcap name=iputils -version=s20100214 +version=s20151218 release=1 -source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2 \ +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 - sed 's/IPV6_TARGETS=*/IPV6_TARGETS=/' -i Makefile + 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" - - install -d $PKG/{{s,}bin,usr/{man/man8,sbin}} - install ping $PKG/bin - install arping $PKG/sbin - install tracepath clockdiff rarpd rdisc ipg tftpd $PKG/usr/sbin - cp -d $SRC/$name-man-$version/* $PKG/usr/man/man8 + make CC="$CC" CFLAGS="$CFLAGS $CCOPT -I$CLFS/usr/include" USE_GNUTLS=no - rm $PKG/usr/man/man8/*6.* + install -d $PKG/{{s,}bin,usr/{sbin,share/man/man8}} + install ping $PKG/bin/ + install arping $PKG/sbin/ + install tracepath clockdiff rarpd rdisc $PKG/usr/sbin/ + cp -d $SRC/$name-man-$version/* $PKG/usr/share/man/man8 chmod u+s $PKG/bin/ping }