1ace2d2af4
This fixes an error when loading this extension: PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php/modules/imagick.so (/usr/lib/php/modules/imagick.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/modules/imagick.so.so (/usr/lib/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
26 lines
656 B
Bash
26 lines
656 B
Bash
pkgname=php-imagick
|
|
version=3.4.3
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="php-devel autoconf pkg-config"
|
|
makedepends="php-devel pcre2-devel libmagick-devel"
|
|
depends="php"
|
|
short_desc="Provides a PHP wrapper to the ImageMagick library"
|
|
maintainer="Alin Dobre <alin.dobre@outlook.com>"
|
|
license="PHP"
|
|
homepage="https://pecl.php.net/package/imagick"
|
|
distfiles="https://pecl.php.net/get/imagick-$version.tgz"
|
|
checksum=1f3c5b5eeaa02800ad22f506cd100e8889a66b2ec937e192eaaa30d74562567c
|
|
wrksrc="imagick-$version"
|
|
|
|
pre_configure() {
|
|
phpize
|
|
}
|
|
|
|
pre_install() {
|
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
|
}
|
|
|
|
post_install() {
|
|
rm -r $DESTDIR/usr/include
|
|
}
|