system/MySQL-Sandbox: Updated for version 3.1.05.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-01-24 06:30:10 +07:00
parent 5dae6dbd8f
commit a13b7b018f
2 changed files with 10 additions and 12 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="MySQL-Sandbox"
VERSION="3.0.43"
VERSION="3.1.05"
HOMEPAGE="http://mysqlsandbox.net"
DOWNLOAD="https://launchpad.net/mysql-sandbox/mysql-sandbox-3/mysql-sandbox-3/+download/MySQL-Sandbox-3.0.43.tar.gz"
MD5SUM="1558e7a9f51d4079974a87a89a0989bd"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GM/GMAX/MySQL-Sandbox-3.1.05.tar.gz"
MD5SUM="f05a50bbdf8262b49b7d2b4db9a12fd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""