summaryrefslogtreecommitdiffstats
path: root/libraries/libowfat/libowfat.SlackBuild
diff options
context:
space:
mode:
author Markus Reichelt2013-12-26 21:05:02 +0100
committer Erik Hanson2014-01-07 18:13:05 +0100
commit83879bf08c64f156f1e782281be90db17b4130b2 (patch)
tree0134a8c8116798dc8df8dc0f56be3967dc56049b /libraries/libowfat/libowfat.SlackBuild
parent7fdd02fd3bc7b88d6a55438f5810ade47ed274b6 (diff)
downloadslackbuilds-83879bf08c64f156f1e782281be90db17b4130b2.tar.gz
libraries/libowfat: Updated for version 0.29.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libowfat/libowfat.SlackBuild')
-rw-r--r--libraries/libowfat/libowfat.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/libraries/libowfat/libowfat.SlackBuild b/libraries/libowfat/libowfat.SlackBuild
index 7cdad8ec80..8ace4767f1 100644
--- a/libraries/libowfat/libowfat.SlackBuild
+++ b/libraries/libowfat/libowfat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libowfat
-# Copyright (c) 2010 Markus Reichelt, Aachen, DE
+# Copyright (c) 2010-2013 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -23,12 +23,11 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
-# 2010 June 25 - initial release
+# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=libowfat
-VERSION=${VERSION:-0.28}
+VERSION=${VERSION:-0.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,10 +78,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \;
mkdir -p $PKG/opt/diet/man
@@ -97,7 +96,7 @@ cat $CWD/profile.d/dietlibc.sh > $PKG/etc/profile.d/dietlibc.sh
cat $CWD/profile.d/dietlibc.csh > $PKG/etc/profile.d/dietlibc.csh
chmod 0755 $PKG/etc/profile.d/*
-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/opt/diet/man -type f -exec gzip -9 {} \;