diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-07-23 18:37:19 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 2f34ffad4bf8f309fcadbce7302691528826f080 (patch) | |
tree | b6fbc9dc773254b6e783c7babb8070c04f785001 /development/ming/ming.SlackBuild | |
parent | 623c66c7c27a6b7e254e4a975b4bec5dc5d01a6d (diff) | |
download | slackbuilds-2f34ffad4bf8f309fcadbce7302691528826f080.tar.gz |
development/ming: Updated for version 0.4.7.
Fixes build failure with giflib-5.1 on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ming/ming.SlackBuild')
-rw-r--r-- | development/ming/ming.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/development/ming/ming.SlackBuild b/development/ming/ming.SlackBuild index 974ceb65b4..5eda48ed0e 100644 --- a/development/ming/ming.SlackBuild +++ b/development/ming/ming.SlackBuild @@ -23,8 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ming -VERSION=0.4.4 -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.4.7} +TARNAM=libming-ming +TARVERSION=$(echo $VERSION | tr . _) +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -59,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $TARNAM-$TARVERSION +tar xvf $CWD/$TARNAM-$TARVERSION.tar.?z* || tar xvf $CWD/$PRGNAM-$TARVERSION.tar.?z* +cd $TARNAM-$TARVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,11 +71,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix PHP 5.4 compatibility -patch -p0 -d php_ext -i $CWD/patch-ming.c.diff - -# Fix building against perl 5.16 -patch -p1 -i $CWD/0001-GvCV-isn-t-an-lvalue-since-Perl-5.13.10.patch +autoreconf -vif # static library is activated because the perl extension needs it CFLAGS="$SLKCFLAGS" \ @@ -124,7 +122,7 @@ find $PKG -depth -type d -empty -delete || true find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING HISTORY INSTALL LICENSE* NEWS README TODO \ +cp -a AUTHORS HISTORY INSTALL LICENSE* NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |