diff options
-rw-r--r-- | libraries/php-imagick/php-imagick.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild index 9af7a049e8..1d1c3c512b 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 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ SRCNAM=imagick PRGNAM=php-$SRCNAM VERSION=3.1.2 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -91,9 +91,14 @@ CXXFLAGS="$SLKCFLAGS" \ make EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)" -mkdir -p $EXTENSION_DIR $PKG/etc/php - -make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR +INCLUDE_DIR="$PKG/$($PHP_CONFIG --include-dir)" +mkdir -p $EXTENSION_DIR $INCLUDE_DIR $PKG/etc/php + +make \ + EXTENSION_DIR=$EXTENSION_DIR \ + phpincludedir=$INCLUDE_DIR \ + DESTDIR=$PKG \ + install mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/imagick.xml |