New package: php8.0-imagick-3.7.0
This commit is contained in:
parent
6d08ac1d96
commit
204f72f897
3
srcpkgs/php8.0-imagick/INSTALL.msg
Normal file
3
srcpkgs/php8.0-imagick/INSTALL.msg
Normal file
|
@ -0,0 +1,3 @@
|
|||
To enable the Imagick extension add the following line to your php.ini:
|
||||
|
||||
extension=imagick.so
|
|
@ -0,0 +1,17 @@
|
|||
--- a/imagemagick.m4 2021-09-09 10:53:42.287881616 +0200
|
||||
+++ b/imagemagick.m4 2021-09-09 11:14:47.662312430 +0200
|
||||
@@ -167,6 +167,14 @@ AC_DEFUN([IM_FIND_IMAGEMAGICK],[
|
||||
|
||||
AC_MSG_RESULT([user location ${IM_IMAGEMAGICK_PREFIX}/include/ImageMagick-${IM_MAJOR_VERSION}/wand/MagickWand.h])
|
||||
|
||||
+ elif test -r "${IM_IMAGEMAGICK_PREFIX}/include/ImageMagick-${IM_MAJOR_VERSION}/MagickWand/MagickWand.h"; then
|
||||
+
|
||||
+ IM_INCLUDE_FORMAT="MagickWand/MagickWand.h"
|
||||
+ IM_HEADER_STYLE="SEVEN"
|
||||
+ AC_DEFINE([IM_MAGICKWAND_HEADER_STYLE_SEVEN], [1], [ImageMagick 7.x style header])
|
||||
+
|
||||
+ AC_MSG_RESULT([${IM_PREFIX}/include/ImageMagick-${IM_MAJOR_VERSION}/MagickWand/MagickWand.h])
|
||||
+
|
||||
elif test -r "${IM_PREFIX}/include/ImageMagick-${IM_MAJOR_VERSION}/MagickWand/MagickWand.h"; then
|
||||
|
||||
IM_INCLUDE_FORMAT="MagickWand/MagickWand.h"
|
29
srcpkgs/php8.0-imagick/template
Normal file
29
srcpkgs/php8.0-imagick/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'php8.0-imagick'
|
||||
pkgname=php8.0-imagick
|
||||
version=3.7.0
|
||||
revision=1
|
||||
wrksrc="imagick-$version"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-imagick=${XBPS_CROSS_BASE}/usr \
|
||||
--with-php-config=/usr/bin/php-config8.0"
|
||||
hostmakedepends="php8.0-devel autoconf pkg-config"
|
||||
makedepends="php8.0-devel pcre2-devel libmagick-devel"
|
||||
depends="php8.0"
|
||||
short_desc="Provides a PHP wrapper to the ImageMagick library"
|
||||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||
license="PHP-3.01"
|
||||
homepage="https://pecl.php.net/package/imagick"
|
||||
distfiles="https://pecl.php.net/get/imagick-$version.tgz"
|
||||
checksum=5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e
|
||||
|
||||
pre_configure() {
|
||||
phpize8.0
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
make_install_args="INSTALL_ROOT=$DESTDIR"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -r $DESTDIR/usr/include
|
||||
}
|
1
srcpkgs/php8.0-imagick/update
Normal file
1
srcpkgs/php8.0-imagick/update
Normal file
|
@ -0,0 +1 @@
|
|||
pattern='<th.*Release \K[\d.]+(?=:</th>)'
|
Loading…
Reference in New Issue
Block a user