aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-imagick
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 22:55:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commit2bbc12521017aa78be5170ee4a47d418d2f4f81e (patch)
tree730f94402d9ccf7cd9d3b93b16d38faa10960655 /libraries/php-imagick
parenta19d95c0107fab42b7de3f1a3f00f3577f0ab2df (diff)
libraries/php-imagick: Updated for version 3.3.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/php-imagick')
-rw-r--r--libraries/php-imagick/README2
-rw-r--r--libraries/php-imagick/doinst.sh2
-rw-r--r--libraries/php-imagick/php-imagick.SlackBuild12
-rw-r--r--libraries/php-imagick/php-imagick.info6
4 files changed, 11 insertions, 11 deletions
diff --git a/libraries/php-imagick/README b/libraries/php-imagick/README
index a7818a5fc3d7f..afcfdb0769db6 100644
--- a/libraries/php-imagick/README
+++ b/libraries/php-imagick/README
@@ -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
diff --git a/libraries/php-imagick/doinst.sh b/libraries/php-imagick/doinst.sh
index 5730263ad55c2..7635d851d3911 100644
--- a/libraries/php-imagick/doinst.sh
+++ b/libraries/php-imagick/doinst.sh
@@ -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
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild
index 1d1c3c512b44b..8ea4d17982252 100644
--- a/libraries/php-imagick/php-imagick.SlackBuild
+++ b/libraries/php-imagick/php-imagick.SlackBuild
@@ -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/
diff --git a/libraries/php-imagick/php-imagick.info b/libraries/php-imagick/php-imagick.info
index e983f86fce728..5d9b8c038e858 100644
--- a/libraries/php-imagick/php-imagick.info
+++ b/libraries/php-imagick/php-imagick.info
@@ -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=""