diff options
Diffstat (limited to 'libraries/php-imagick/php-imagick.SlackBuild')
-rw-r--r-- | libraries/php-imagick/php-imagick.SlackBuild | 9 |
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} |