aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-gmagick
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-03-24 19:15:00 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-04-19 10:25:14 +0000
commit39afc7db3ad1cc4aead85ac7f624d0342a2f0030 (patch)
tree9880d078e098dbf4e94e30346a25e1638bd49e1b /testing/php7-gmagick
parent86d2945452da4244f91a43a440d5b593f7e2c850 (diff)
downloadaports-39afc7db3ad1cc4aead85ac7f624d0342a2f0030.tar.bz2
aports-39afc7db3ad1cc4aead85ac7f624d0342a2f0030.tar.xz
testing/php7-gmagick: upgrade to 2.0.2_rc2, add extension load order value, add custom prepare()
Diffstat (limited to 'testing/php7-gmagick')
-rw-r--r--testing/php7-gmagick/APKBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/testing/php7-gmagick/APKBUILD b/testing/php7-gmagick/APKBUILD
index 826d848604..b94ed0f697 100644
--- a/testing/php7-gmagick/APKBUILD
+++ b/testing/php7-gmagick/APKBUILD
@@ -2,25 +2,30 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=php7-gmagick
_pkgreal=gmagick
-pkgver=2.0.2_rc1
+pkgver=2.0.2_rc2
_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="PHP7 bindings to the GraphicsMagick library"
url="http://pecl.php.net/package/gmagick"
-arch="x86_64 armhf"
+arch="all"
license="PHP"
depends=
pecldepends="php7-dev autoconf"
makedepends="$pecldepends graphicsmagick-dev"
-install=""
-subpackages=""
+install=
+subpackages=
source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
_builddir="$srcdir"/$_pkgreal-$_pkgver
-build() {
+prepare() {
cd "$_builddir"
phpize7 || return 1
- ./configure --prefix=/usr \
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
--with-php-config=/usr/bin/php-config7 \
|| return 1
make || return 1
@@ -30,9 +35,9 @@ package() {
cd "$_builddir"
make INSTALL_ROOT="$pkgdir/" install || return 1
install -d "$pkgdir"/etc/php7/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/10_$_pkgreal.ini
}
-md5sums="c36e2adef005427c6e7329908849ddfe gmagick-2.0.2RC1.tgz"
-sha256sums="b8051330127bf15d195c29df18b92e6e86bcbf9224171698bf12ae76fc790628 gmagick-2.0.2RC1.tgz"
-sha512sums="21ee127345eb483d4954efaeff35a2734070d77ec0a9f38fde7993566a226186be68925a6425b0c54a782255d5ad5c466dddbb61d97a195fd04424eacb49d901 gmagick-2.0.2RC1.tgz"
+md5sums="0ff20f387d4de26f41565e93bd18e5d0 gmagick-2.0.2RC2.tgz"
+sha256sums="7656bd9042c2aae1325b1cb49e55d9e8ec31b911decec33b6f176195ee1d515a gmagick-2.0.2RC2.tgz"
+sha512sums="a677a9aa0eec98646f21a8e1dd3be89c567b8393f83a311dcc94597ad02634ae596998867bf647466d46045ae372d8afd699e3694dd28f6274b3b041ebd0c4a7 gmagick-2.0.2RC2.tgz"