aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-11-06 16:53:01 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-09 08:39:45 +0000
commit794f6aa3f3457bc6f05fd2daaef1b5f6189b8d74 (patch)
tree02c70bdead1c7c9cd38dd469527987f87ca1fd1b /testing
parent75392a341d04a2323bd87237faeecdf87a883c6e (diff)
downloadaports-794f6aa3f3457bc6f05fd2daaef1b5f6189b8d74.tar.bz2
aports-794f6aa3f3457bc6f05fd2daaef1b5f6189b8d74.tar.xz
testing/php-gmagick: new aport (http://bugs.alpinelinux.org/issues/4814)
Diffstat (limited to 'testing')
-rw-r--r--testing/php-gmagick/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/php-gmagick/APKBUILD b/testing/php-gmagick/APKBUILD
new file mode 100644
index 0000000000..08e36b01ad
--- /dev/null
+++ b/testing/php-gmagick/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=php-gmagick
+_pkgreal=gmagick
+pkgver=1.1.7_rc3
+_pkgver=${pkgver/_rc/RC}
+pkgrel=0
+pkgdesc="PHP bindings to the GraphicsMagick library"
+url="http://pecl.php.net/package/$_pkgreal"
+arch="all"
+license="PHP"
+depends=
+pecldepends="php-dev autoconf"
+makedepends="$pecldepends graphicsmagick-dev"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$_pkgver
+
+build() {
+ cd "$_builddir"
+ phpize || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir/" install || return 1
+ install -d "$pkgdir"/etc/php/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+}
+
+md5sums="b11fe7922daf32a2f82956a3501c7c7b gmagick-1.1.7RC3.tgz"
+sha256sums="1d2a35811a29e0744e852dda526f30c8a0cba516ef611758dd5bd4837ecba1fd gmagick-1.1.7RC3.tgz"
+sha512sums="a51f148dc16322bcd5586b4af059389159edab1de4ada5743a5ef6dd8d4f001a21f955dc8fd2dac2969a5048db89e3b8031da3a2f519d59fcb1f8e6afa4d8dd9 gmagick-1.1.7RC3.tgz"