aboutsummaryrefslogtreecommitdiff
path: root/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild')
-rw-r--r--system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
index 4c0e17661481..e322d8e24a1d 100644
--- a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
+++ b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MySQL-Sandbox
-VERSION=${VERSION:-3.0.43}
+VERSION=${VERSION:-3.1.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,7 +39,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING Changelog README"
+DOCS="Changelog README.md"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -55,7 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -68,7 +68,7 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
PREFIX=/usr \
@@ -85,13 +85,11 @@ find $PKG -name perllocal.pod \
eval $(perl -V:vendorarch)
rm -rf $PKG/$vendorarch $PKG/usr/lib${LIBDIRSUFFIX}/
-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
-( 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 -ar $DOCS $PKG/usr/doc/$PRGNAM-$VERSION