diff options
author | Brenton Earl <brent@exitstatusone.com> | 2017-03-31 07:29:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-31 07:29:41 +0700 |
commit | f574f56db48b1b6882e8fa27edbc0ea7e8e405ad (patch) | |
tree | f29cd0f1ee74badec5083f9608f6bc70c8fe4670 /system/fio | |
parent | 1367dc02c5113904c2c2ee9fda4b4cb6707f9da2 (diff) |
system/fio: Updated for version 2.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fio')
-rw-r--r-- | system/fio/fio.SlackBuild | 17 | ||||
-rw-r--r-- | system/fio/fio.info | 6 |
2 files changed, 15 insertions, 8 deletions
diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild index 80911402e3afe..aac38f069ee82 100644 --- a/system/fio/fio.SlackBuild +++ b/system/fio/fio.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for fio -# Copyright 2012 Binh Nguyen <binhvng@gmail.com> -# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> +# Copyright 2012 Binh Nguyen <binhvng@gmail.com> +# Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com> # 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 e1510e2b5857c..c299e721f8537 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="" |