diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-02 00:45:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-05 07:02:20 +0700 |
commit | cc45e8a0bd385513fdde17c4be44fbeac150a06d (patch) | |
tree | ddf7a1049ab224046113dcea3fb9fee5b88bad96 /system/fio/fio.SlackBuild | |
parent | 80e18372f20ddfbe04d2f043727e4f05b261fc83 (diff) |
system/fio: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fio/fio.SlackBuild')
-rw-r--r-- | system/fio/fio.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild index 8af237ec87c84..0724cc83fc8d1 100644 --- a/system/fio/fio.SlackBuild +++ b/system/fio/fio.SlackBuild @@ -65,14 +65,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $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 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 {} \; |