summaryrefslogtreecommitdiff
path: root/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
diff options
context:
space:
mode:
authorDhaby Xiloj <slack.dhabyx@gmail.com>2013-12-06 07:59:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-06 07:59:24 +0700
commit006efbbaf9b8546d586d4f72de344a8c73883825 (patch)
treebd83e677072d08a3def7fe18acc99a22905c7ee1 /system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
parentecb92e4043e563c51c8c6a092f1732ab4453aea1 (diff)
downloadslackbuilds-006efbbaf9b8546d586d4f72de344a8c73883825.tar.gz
system/MySQL-Sandbox: Updated for version 3.0.43.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild')
-rw-r--r--system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
index 4a4af2717f..4c0e176614 100644
--- a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
+++ b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MySQL-Sandbox
-# Copyright (c) vie feb 26 23:31:08 CST 2010, Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright (c) 2010-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MySQL-Sandbox
-VERSION=${VERSION:-3.0.08}
+VERSION=${VERSION:-3.0.43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,12 +65,15 @@ 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 {} \;
-
-perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
+ \( -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 {} \;
+
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make OPTIMIZE="$SLKCFLAGS"
make install DESTDIR=$PKG
@@ -80,7 +83,7 @@ find $PKG -name perllocal.pod \
-o -name "*.bs" \
| xargs rm -f
eval $(perl -V:vendorarch)
-rm -rf $PKG/$vendorarch $PKG/usr/lib${LIBDIRSUFFIX}/perl?/?.??.?
+rm -rf $PKG/$vendorarch $PKG/usr/lib${LIBDIRSUFFIX}/
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true