libraries/php-imagick: Updated for version 3.3.0.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2016-02-06 22:55:29 +01:00 committed by Willy Sudiarto Raharjo
parent a19d95c010
commit 2bbc125210
4 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
Imagick is a native php extension to create and modify images using
the ImageMagick API.
To enable the imagick extension for php, go to /etc/php/imagick.ini
To enable the imagick extension for php, go to /etc/php.d/imagick.ini
and uncomment the line:
; extension=imagick.so

View file

@ -11,7 +11,7 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/php/imagick.ini.new
config etc/php.d/imagick.ini.new
/usr/bin/pecl install --nodeps --soft --force --register-only --nobuild \
usr/libLIBDIRSUFFIX/php/.pkgxml/imagick.xml > /dev/null

View file

@ -3,7 +3,7 @@
# Slackware build script for imagick php module
# Originally written by sl@not-only-pixel.de
# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,8 +25,8 @@
SRCNAM=imagick
PRGNAM=php-$SRCNAM
VERSION=3.1.2
BUILD=${BUILD:-2}
VERSION=3.3.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -92,7 +92,7 @@ make
EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
INCLUDE_DIR="$PKG/$($PHP_CONFIG --include-dir)"
mkdir -p $EXTENSION_DIR $INCLUDE_DIR $PKG/etc/php
mkdir -p $EXTENSION_DIR $INCLUDE_DIR $PKG/etc/php.d
make \
EXTENSION_DIR=$EXTENSION_DIR \
@ -103,13 +103,13 @@ make \
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml
install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/imagick.xml
install -m 644 $CWD/imagick.ini $PKG/etc/php/imagick.ini.new
install -m 644 $CWD/imagick.ini $PKG/etc/php.d/imagick.ini.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp ChangeLog CREDITS INSTALL TODO \
cp ChangeLog CREDITS LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION/
cp -a examples/*.php \
$PKG/usr/doc/$PRGNAM-$VERSION/examples/

View file

@ -1,8 +1,8 @@
PRGNAM="php-imagick"
VERSION="3.1.2"
VERSION="3.3.0"
HOMEPAGE="http://pecl.php.net/package/imagick"
DOWNLOAD="http://pecl.php.net/get/imagick-3.1.2.tgz"
MD5SUM="f2fd71b026debe056e0ec8d76c2ffe94"
DOWNLOAD="http://pecl.php.net/get/imagick-3.3.0.tgz"
MD5SUM="bc97cb5833e6952d3b08a4188d1b691f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""