mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/php-imagick: Fix headers not installing to DESTDIR.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
6e91d6b940
commit
fbaad9ba18
1 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
INCLUDE_DIR="$PKG/$($PHP_CONFIG --include-dir)"
|
||||
mkdir -p $EXTENSION_DIR $INCLUDE_DIR $PKG/etc/php
|
||||
|
||||
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue