diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2014-12-20 19:12:53 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-12-25 02:11:50 -0600 |
commit | fbaad9ba18113fb6a21ad40f6f967bff181b3b78 (patch) | |
tree | 7a9c5822c2c8488f7a799758300ab8f38d34241a | |
parent | 6e91d6b940a6668dc1b2ffbc0eb7c355979d2a63 (diff) | |
download | slackbuilds-fbaad9ba18113fb6a21ad40f6f967bff181b3b78.tar.gz |
libraries/php-imagick: Fix headers not installing to DESTDIR.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-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 |