30 lines
822 B
Bash
30 lines
822 B
Bash
# Template file for 'php8.3-imagick'
|
|
pkgname=php8.3-imagick
|
|
version=3.7.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-imagick=${XBPS_CROSS_BASE}/usr \
|
|
--with-php-config=/usr/bin/php-config8.3"
|
|
hostmakedepends="php8.3-devel autoconf pkg-config"
|
|
makedepends="php8.3-devel pcre2-devel libmagick-devel"
|
|
depends="php8.3"
|
|
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.3
|
|
}
|
|
|
|
pre_install() {
|
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
|
}
|
|
|
|
post_install() {
|
|
rm -r $DESTDIR/usr/include
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|