From fbaad9ba18113fb6a21ad40f6f967bff181b3b78 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 20 Dec 2014 19:12:53 +0100 Subject: libraries/php-imagick: Fix headers not installing to DESTDIR. Signed-off-by: Heinz Wiesinger --- libraries/php-imagick/php-imagick.SlackBuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'libraries/php-imagick/php-imagick.SlackBuild') diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild index 9af7a049e893..1d1c3c512b44 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 -- cgit v1.2.3