summaryrefslogtreecommitdiff
path: root/libraries/php-imagick/php-imagick.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-imagick/php-imagick.SlackBuild')
-rw-r--r--libraries/php-imagick/php-imagick.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild
index 1d1c3c512b..8ea4d17982 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/