From 90bb679d73bfe6bac939c7a66e56b3d6ef60ac0c Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:24:59 +0200 Subject: development/ming: Updated for version 0.4.2 --- development/ming/ming.SlackBuild | 10 +++++++--- development/ming/ming.info | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'development/ming') diff --git a/development/ming/ming.SlackBuild b/development/ming/ming.SlackBuild index 0b28ee6d6c..b87f0f264c 100644 --- a/development/ming/ming.SlackBuild +++ b/development/ming/ming.SlackBuild @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -53,13 +56,14 @@ 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 +patch -p1 < $CWD/php_ext-Makefile.in.patch # static library is activated because the perl extension needs it CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib$LIBDIRSUFFIX \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -95,7 +99,7 @@ rm -rf $PKG/usr/share find $PKG -name "$i" -exec rm -rf {} \; done # Remove empty directory - rmdir --parents $PKG/usr/lib/perl5/5.10.0/i486-linux-thread-multi 2>/dev/null || true + rmdir --parents $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0/i486-linux-thread-multi 2>/dev/null || true ) ( cd $PKG/usr/man || exit 1 @@ -112,4 +116,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/ming/ming.info b/development/ming/ming.info index 99634e3358..8029219337 100644 --- a/development/ming/ming.info +++ b/development/ming/ming.info @@ -2,7 +2,9 @@ PRGNAM="ming" VERSION="0.4.2" HOMEPAGE="http://www.libming.org" DOWNLOAD="http://downloads.sourceforge.net/ming/ming-0.4.2.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="41f091dee0384a432aa05aca1ec7699b" +MD5SUM_x86_64="" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" APPROVED="rworkman" -- cgit v1.2.3