diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 12:53:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 12:53:08 +0700 |
commit | 062099b2dce06ba2e41eeaa40170f213b10fd371 (patch) | |
tree | b2304479aac793d8ec830b284aec3fda03c6f8d4 /network/netperf/netperf.SlackBuild | |
parent | b2b013537b451cbdfebec8abd72c452f1fa86ad3 (diff) |
network/netperf: Updated for version 2.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/netperf/netperf.SlackBuild')
-rw-r--r-- | network/netperf/netperf.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/network/netperf/netperf.SlackBuild b/network/netperf/netperf.SlackBuild index 8c4d08dea427..a6cf15afacbb 100644 --- a/network/netperf/netperf.SlackBuild +++ b/network/netperf/netperf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=netperf -VERSION=${VERSION:-2.6.0} +VERSION=${VERSION:-2.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -79,7 +79,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +patch -p1 < $CWD/001-fix-inlining.patch + +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -101,8 +103,7 @@ rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS README* doc \ +cp -a AUTHORS COPYING* ChangeLog INSTALL README* doc \ $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install |