diff options
Diffstat (limited to 'development/ming')
-rw-r--r-- | development/ming/ming.SlackBuild | 14 | ||||
-rw-r--r-- | development/ming/ming.info | 10 |
2 files changed, 13 insertions, 11 deletions
diff --git a/development/ming/ming.SlackBuild b/development/ming/ming.SlackBuild index b87f0f264c43b..19405514987c1 100644 --- a/development/ming/ming.SlackBuild +++ b/development/ming/ming.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ming -# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ming -VERSION=0.4.2 +VERSION=0.4.3 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,12 +35,15 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + PERL_ARCH="i486" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + PERL_ARCH="i486" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + PERL_ARCH="x86_64" LIBDIRSUFFIX="64" fi @@ -55,9 +58,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Fix a misplaced \" in the php_ext Makefile.in that prevents installation -patch -p1 < $CWD/php_ext-Makefile.in.patch - # static library is activated because the perl extension needs it CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -91,6 +91,7 @@ cd - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +mkdir -p $PKG/usr/man/man3 mv $PKG/usr/share/man/man3/* $PKG/usr/man/man3/ rm -rf $PKG/usr/share @@ -99,7 +100,8 @@ rm -rf $PKG/usr/share find $PKG -name "$i" -exec rm -rf {} \; done # Remove empty directory - rmdir --parents $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0/i486-linux-thread-multi 2>/dev/null || true + PERLVER=$(perl -v | grep linux | cut -d " " -f 4 | sed "s/v//"); + rmdir --parents $PKG/usr/lib$LIBDIRSUFFIX/perl5/$PERLVER/$PERL_ARCH-linux-thread-multi 2>/dev/null || true ) ( cd $PKG/usr/man || exit 1 diff --git a/development/ming/ming.info b/development/ming/ming.info index 802921933776d..ba71980480e9b 100644 --- a/development/ming/ming.info +++ b/development/ming/ming.info @@ -1,10 +1,10 @@ PRGNAM="ming" -VERSION="0.4.2" +VERSION="0.4.3" HOMEPAGE="http://www.libming.org" -DOWNLOAD="http://downloads.sourceforge.net/ming/ming-0.4.2.tar.bz2" +DOWNLOAD="http://downloads.sourceforge.net/ming/ming-0.4.3.tar.bz2" +MD5SUM="db6bae65d000e2f2ac78583fd453f99a" DOWNLOAD_x86_64="" -MD5SUM="41f091dee0384a432aa05aca1ec7699b" MD5SUM_x86_64="" -MAINTAINER="ppr:kut" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="rworkman" +APPROVED="Erik Hanson" |