diff --git a/srcpkgs/php-imagick/INSTALL.msg b/srcpkgs/php-imagick/INSTALL.msg new file mode 100644 index 0000000000..00497519fc --- /dev/null +++ b/srcpkgs/php-imagick/INSTALL.msg @@ -0,0 +1,3 @@ +To enable the Imagick extension add the following line to your php.ini: + + extension=imagick.so diff --git a/srcpkgs/php-imagick/template b/srcpkgs/php-imagick/template new file mode 100644 index 0000000000..5bf18c34d3 --- /dev/null +++ b/srcpkgs/php-imagick/template @@ -0,0 +1,26 @@ +pkgname=php-imagick +version=3.4.3 +revision=1 +build_style=gnu-configure +hostmakedepends="php-devel autoconf pkg-config" +makedepends="php-devel pcre-devel libmagick-devel" +depends="php" +short_desc="Provides a PHP wrapper to the ImageMagick library" +maintainer="Alin Dobre " +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 +}