system/fio: Updated for version 2.18.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Brenton Earl 2017-03-31 07:29:41 +07:00 committed by Willy Sudiarto Raharjo
parent 1367dc02c5
commit f574f56db4
2 changed files with 15 additions and 8 deletions

View file

@ -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

View file

@ -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=""