aboutsummaryrefslogtreecommitdiff
path: root/system/pmount/pmount.SlackBuild
diff options
context:
space:
mode:
authorGuillermo Bonvehi <gbonvehi@gmail.com>2012-11-20 10:40:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-20 10:40:19 -0600
commit60da60a8430c73d7b91f119025be163bca7ea1a9 (patch)
tree8a25c021ab0c232520e54168281d6231603c42d2 /system/pmount/pmount.SlackBuild
parente0efb04e122be34d62e10b249e00c9a0b659dadc (diff)
system/pmount: Updated for version 0.9.23.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pmount/pmount.SlackBuild')
-rw-r--r--system/pmount/pmount.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild
index 4447fbeec87e..0a7dd646f13e 100644
--- a/system/pmount/pmount.SlackBuild
+++ b/system/pmount/pmount.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pmount
-# Copyright 2007 by Guillermo Bonvehi (gbonvehi@gmail.com)
+# Copyright 2007-2012 by Guillermo Bonvehi (gbonvehi@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Contains modifications by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms added.
PRGNAM=pmount
-VERSION=0.9.19
+VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -96,10 +96,8 @@ mv $PKG/etc/pmount.allow $PKG/etc/pmount.allow.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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 \