aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-10-21 02:12:52 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-10-23 17:10:45 +0300
commit68f694f6b989b03a8bc20c450503342cddeedf72 (patch)
tree44ea655ce7279288699b26e1481609a3712880a4 /community
parentba1f69ffaeece9b1e3bd1d0e112a433c1f2d33c3 (diff)
downloadaports-68f694f6b989b03a8bc20c450503342cddeedf72.tar.bz2
aports-68f694f6b989b03a8bc20c450503342cddeedf72.tar.xz
community/php7-pecl-imagick: renamed from php7-imagick, modernize, fix license
Diffstat (limited to 'community')
-rw-r--r--community/php7-pecl-imagick/APKBUILD (renamed from community/php7-imagick/APKBUILD)24
-rw-r--r--community/php7-pecl-imagick/fix-affineTransformImage-test.patch (renamed from community/php7-imagick/fix-affineTransformImage-test.patch)0
2 files changed, 12 insertions, 12 deletions
diff --git a/community/php7-imagick/APKBUILD b/community/php7-pecl-imagick/APKBUILD
index 9df0bf1e50..0197d72aeb 100644
--- a/community/php7-imagick/APKBUILD
+++ b/community/php7-pecl-imagick/APKBUILD
@@ -1,29 +1,29 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
-pkgname=php7-imagick
+pkgname=php7-pecl-imagick
_pkgreal=imagick
pkgver=3.4.3
-pkgrel=8
-_phpver=${pkgname#php}
-_phpver=${_phpver%%-*}
-pkgdesc="PHP$_phpver extension: Provides a wrapper to the ImageMagick library"
-url="http://pecl.php.net/package/imagick"
+pkgrel=9
+pkgdesc="PHP extension provides a wrapper to the ImageMagick library - PECL"
+url="https://pecl.php.net/package/imagick"
arch="all"
-license="PHP"
-depends="php$_phpver-common imagemagick"
+license="PHP-3.01"
+depends="php7-common imagemagick"
checkdepends="ghostscript-fonts"
-makedepends="php$_phpver-dev autoconf libtool imagemagick-dev pcre-dev"
+makedepends="php7-dev autoconf libtool imagemagick-dev pcre-dev re2c"
subpackages="$pkgname-dev"
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
fix-affineTransformImage-test.patch
"
builddir="$srcdir/$_pkgreal-$pkgver"
+provides="php7-imagick=$pkgver-r$pkgrel" # for backward compatibility
+replaces="php7-imagick" # for backward compatibility
build() {
cd "$builddir"
- phpize$_phpver
- ./configure --prefix=/usr --with-php-config=php-config$_phpver
+ phpize7
+ ./configure --prefix=/usr --with-php-config=php-config7
make
}
@@ -38,7 +38,7 @@ check() {
}
package() {
- local confdir="$pkgdir/etc/php$_phpver/conf.d"
+ local confdir="$pkgdir/etc/php7/conf.d"
cd "$builddir"
make INSTALL_ROOT="$pkgdir" install
diff --git a/community/php7-imagick/fix-affineTransformImage-test.patch b/community/php7-pecl-imagick/fix-affineTransformImage-test.patch
index 00570a9e62..00570a9e62 100644
--- a/community/php7-imagick/fix-affineTransformImage-test.patch
+++ b/community/php7-pecl-imagick/fix-affineTransformImage-test.patch