summaryrefslogtreecommitdiff
path: root/system/fio/fio.SlackBuild
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2016-12-15 06:58:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-15 22:32:04 +0700
commit8e8696ba167b775233248b1db7c25c79e16bebad (patch)
tree5868a1f5786bf41931cfaa4634d1ff19e4d77185 /system/fio/fio.SlackBuild
parent3443d34e15f4c5c011197f56b012f44e475911dc (diff)
downloadslackbuilds-8e8696ba167b775233248b1db7c25c79e16bebad.tar.gz
system/fio: Updated for version 2.15.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fio/fio.SlackBuild')
-rw-r--r--system/fio/fio.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild
index 6f022047ce..80911402e3 100644
--- a/system/fio/fio.SlackBuild
+++ b/system/fio/fio.SlackBuild
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fio
-VERSION=${VERSION:-2.13}
+VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,8 +70,6 @@ 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 {} \;
-patch -p1 < $CWD/fio.patch
-
make install DESTDIR=$PKG prefix="/usr"
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \