mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
system/MySQL-Sandbox: Updated for version 3.1.11
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
adb386f144
commit
8a1f9c1b18
4 changed files with 22 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for MySQL-Sandbox
|
||||
|
||||
# Copyright (c) 2010-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# Copyright (c) 2010-2016, Dhaby Xiloj <slack.dhabyx@gmail.com> Guatemala
|
||||
# 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.1.05}
|
||||
VERSION=${VERSION:-3.1.11}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -39,10 +39,10 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="Changelog README.md"
|
||||
DOCS="Changelog LICENSE README.md"
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -71,26 +71,22 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
perl Makefile.PL \
|
||||
PREFIX=/usr \
|
||||
INSTALLDIRS=vendor \
|
||||
INSTALLVENDORMAN3DIR=/usr/man/man3
|
||||
PREFIX=/usr \
|
||||
INSTALLDIRS=vendor \
|
||||
INSTALLVENDORMAN3DIR=/usr/man/man3
|
||||
make OPTIMIZE="$SLKCFLAGS"
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove 'special' files
|
||||
find $PKG -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
eval $(perl -V:vendorarch)
|
||||
rm -rf $PKG/$vendorarch $PKG/usr/lib${LIBDIRSUFFIX}/
|
||||
|
||||
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/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
|
||||
|
||||
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
|
||||
|
||||
find $PKG -depth -type d -empty -delete || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -ar $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="MySQL-Sandbox"
|
||||
VERSION="3.1.05"
|
||||
VERSION="3.1.11"
|
||||
HOMEPAGE="http://mysqlsandbox.net"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GM/GMAX/MySQL-Sandbox-3.1.05.tar.gz"
|
||||
MD5SUM="f05a50bbdf8262b49b7d2b4db9a12fd5"
|
||||
DOWNLOAD="https://github.com/datacharmer/mysql-sandbox/releases/download/3.1.11/MySQL-Sandbox-3.1.11.tar.gz"
|
||||
MD5SUM="45c2a7693872cb0a3d36ce2c1d45bb0a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
MySQL-Sandbox - the easy way of installing a MySQL server
|
||||
|
||||
MySQL Sandbox is a tool that installs one or more MySQL servers
|
||||
within seconds, easily, securely, and with full control. MySQL
|
||||
Sandbox has support for easily create simple or circular clusters.
|
||||
MySQL Sandbox is a tool that installs one or more MySQL or MariaDB
|
||||
servers within seconds, easily, securely, and with full control.
|
||||
|
||||
MySQL Sandbox has support for easily create simple or circular
|
||||
clusters.
|
||||
|
|
|
@ -10,8 +10,8 @@ MySQL-Sandbox: MySQL-Sandbox (easy install of MySQL server)
|
|||
MySQL-Sandbox:
|
||||
MySQL-Sandbox: The easy way of installing a MySQL server
|
||||
MySQL-Sandbox:
|
||||
MySQL-Sandbox: MySQL Sandbox is a tool that installs one or more MySQL servers
|
||||
MySQL-Sandbox: within seconds, easily, securely, and with full control.
|
||||
MySQL-Sandbox: MySQL Sandbox is a tool that installs one or more MySQL or MariaDB
|
||||
MySQL-Sandbox: servers within seconds, easily, securely, and with full control.
|
||||
MySQL-Sandbox:
|
||||
MySQL-Sandbox: http://mysqlsandbox.net
|
||||
MySQL-Sandbox:
|
||||
|
|
Loading…
Reference in a new issue