mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/php-imagick: Updated for version 3.1.2.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
4875558bc8
commit
422c31f20b
3 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue