aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-gmagick/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-28 20:49:23 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-28 20:49:23 +0000
commit765508af462520603bdf6d4d58758637d1ce30cc (patch)
treed79c0faf1b0187d7e2775b0414be4a1c5dd98bde /testing/php7-gmagick/APKBUILD
parente0ac282cb8ed98ddcf64fc8cd708d7e1ae5ab75a (diff)
downloadaports-765508af462520603bdf6d4d58758637d1ce30cc.tar.bz2
aports-765508af462520603bdf6d4d58758637d1ce30cc.tar.xz
testing/php7-gmagick: upgrade to 2.0.4_rc1
Diffstat (limited to 'testing/php7-gmagick/APKBUILD')
-rw-r--r--testing/php7-gmagick/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/testing/php7-gmagick/APKBUILD b/testing/php7-gmagick/APKBUILD
index b94ed0f697..2c24f7f57a 100644
--- a/testing/php7-gmagick/APKBUILD
+++ b/testing/php7-gmagick/APKBUILD
@@ -1,8 +1,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=php7-gmagick
-_pkgreal=gmagick
-pkgver=2.0.2_rc2
+pkgver=2.0.4_rc1
_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="PHP7 bindings to the GraphicsMagick library"
@@ -10,20 +9,20 @@ url="http://pecl.php.net/package/gmagick"
arch="all"
license="PHP"
depends=
-pecldepends="php7-dev autoconf"
-makedepends="$pecldepends graphicsmagick-dev"
+makedepends="graphicsmagick-dev autoconf libtool php7-dev"
install=
subpackages=
-source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+source="http://pecl.php.net/get/gmagick-$_pkgver.tgz"
+
+builddir="$srcdir"/gmagick-$_pkgver
-_builddir="$srcdir"/$_pkgreal-$_pkgver
prepare() {
- cd "$_builddir"
+ cd "$builddir"
phpize7 || return 1
}
build() {
- cd "$_builddir"
+ cd "$_uilddir"
./configure \
--prefix=/usr \
--with-php-config=/usr/bin/php-config7 \
@@ -32,12 +31,13 @@ build() {
}
package() {
- cd "$_builddir"
+ 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/10_$_pkgreal.ini
+ echo "extension=$_pkgreal.so" > \
+ "$pkgdir"/etc/php7/conf.d/10_$_pkgreal.ini
}
-md5sums="0ff20f387d4de26f41565e93bd18e5d0 gmagick-2.0.2RC2.tgz"
-sha256sums="7656bd9042c2aae1325b1cb49e55d9e8ec31b911decec33b6f176195ee1d515a gmagick-2.0.2RC2.tgz"
-sha512sums="a677a9aa0eec98646f21a8e1dd3be89c567b8393f83a311dcc94597ad02634ae596998867bf647466d46045ae372d8afd699e3694dd28f6274b3b041ebd0c4a7 gmagick-2.0.2RC2.tgz"
+md5sums="75bd382e666033dbb7a8fab9088dc827 gmagick-2.0.4RC1.tgz"
+sha256sums="4ead19640bebebfa68be41dc0097a93a7bf9beb56ea82b27343dba8ea4c5ecfa gmagick-2.0.4RC1.tgz"
+sha512sums="c8d877ab371fe57e07134bbe09bb24dcf20cd3d6310a212c395c89e27e783cb939c05ff80efdd6c47580ef54e315d75793e5c85c90b11c79796e60315e063916 gmagick-2.0.4RC1.tgz"