aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-imagick/php-imagick.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-11 19:47:32 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 15:13:30 -0600
commit422c31f20b9d1cc1f15e727cf90ff90144263f89 (patch)
treefbfa8c4cea0df354c3beaa8d0f783ae1da69c46c /libraries/php-imagick/php-imagick.SlackBuild
parent4875558bc8bddf8faeb70e879765dba5a02d9552 (diff)
libraries/php-imagick: Updated for version 3.1.2.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/php-imagick/php-imagick.SlackBuild')
-rw-r--r--libraries/php-imagick/php-imagick.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild
index c7cf1d3d59a25..1e162153616d5 100644
--- a/libraries/php-imagick/php-imagick.SlackBuild
+++ b/libraries/php-imagick/php-imagick.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=imagick
PRGNAM=php-$SRCNAM
-VERSION=3.1.0RC2
+VERSION=3.1.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,8 +62,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
+rm -f package.xml
tar xvf $CWD/$SRCNAM-$VERSION.tgz
-rm package.xml
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -95,6 +95,9 @@ mkdir -p $EXTENSION_DIR $PKG/etc/php
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
+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
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -109,7 +112,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}