From f574f56db48b1b6882e8fa27edbc0ea7e8e405ad Mon Sep 17 00:00:00 2001 From: Brenton Earl Date: Fri, 31 Mar 2017 07:29:41 +0700 Subject: system/fio: Updated for version 2.18. Signed-off-by: Willy Sudiarto Raharjo --- system/fio/fio.SlackBuild | 17 ++++++++++++----- system/fio/fio.info | 6 +++--- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'system') diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild index 80911402e3..aac38f069e 100644 --- a/system/fio/fio.SlackBuild +++ b/system/fio/fio.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for fio -# Copyright 2012 Binh Nguyen -# Copyright 2015-2016 Brenton Earl +# Copyright 2012 Binh Nguyen +# Copyright 2015-2017 Brenton Earl # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fio -VERSION=${VERSION:-2.15} +VERSION=${VERSION:-2.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,12 +70,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make install DESTDIR=$PKG prefix="/usr" +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix="/usr" \ + --extra-cflags="$CFLAGS" + +make +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING HOWTO README REPORTING-BUGS examples/ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/fio/fio.info b/system/fio/fio.info index e1510e2b58..c299e721f8 100644 --- a/system/fio/fio.info +++ b/system/fio/fio.info @@ -1,8 +1,8 @@ PRGNAM="fio" -VERSION="2.15" +VERSION="2.18" HOMEPAGE="http://git.kernel.dk/cgit/fio/" -DOWNLOAD="http://brick.kernel.dk/snaps/fio-2.15.tar.gz" -MD5SUM="743368ecea46bcae69e4dfd442a6f469" +DOWNLOAD="http://brick.kernel.dk/snaps/fio-2.18.tar.gz" +MD5SUM="f8758f25024643283c52c29e6606c0bd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3