diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-24 06:30:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-25 07:25:04 +0700 |
commit | a13b7b018f9a78a2163e65eef6d840b473c5bf77 (patch) | |
tree | 915eeda171eb2713aaa543b62901b0bdbeb007e1 /system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild | |
parent | 5dae6dbd8f88bda589f2143b483d8c93fa11a707 (diff) | |
download | slackbuilds-a13b7b018f9a78a2163e65eef6d840b473c5bf77.tar.gz |
system/MySQL-Sandbox: Updated for version 3.1.05.
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.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild index 4c0e176614..e322d8e24a 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 |