diff options
Diffstat (limited to 'libraries/php-imagick')
-rw-r--r-- | libraries/php-imagick/doinst.sh | 2 | ||||
-rw-r--r-- | libraries/php-imagick/php-imagick.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/php-imagick/php-imagick.info | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/libraries/php-imagick/doinst.sh b/libraries/php-imagick/doinst.sh index 154d08871e..5730263ad5 100644 --- a/libraries/php-imagick/doinst.sh +++ b/libraries/php-imagick/doinst.sh @@ -13,3 +13,5 @@ config() { config etc/php/imagick.ini.new +/usr/bin/pecl install --nodeps --soft --force --register-only --nobuild \ + usr/libLIBDIRSUFFIX/php/.pkgxml/imagick.xml > /dev/null diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild index c7cf1d3d59..1e16215361 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} diff --git a/libraries/php-imagick/php-imagick.info b/libraries/php-imagick/php-imagick.info index 0ce53879fb..e983f86fce 100644 --- a/libraries/php-imagick/php-imagick.info +++ b/libraries/php-imagick/php-imagick.info @@ -1,8 +1,8 @@ PRGNAM="php-imagick" -VERSION="3.1.0RC2" +VERSION="3.1.2" HOMEPAGE="http://pecl.php.net/package/imagick" -DOWNLOAD="http://pecl.php.net/get/imagick-3.1.0RC2.tgz" -MD5SUM="de9cca809fb2db61f4cbd9fac4f69314" +DOWNLOAD="http://pecl.php.net/get/imagick-3.1.2.tgz" +MD5SUM="f2fd71b026debe056e0ec8d76c2ffe94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |