diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-11-06 16:52:25 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 08:50:24 +0000 |
commit | c0466dea6dde546c9dc40aea28c1b2528b9cb352 (patch) | |
tree | 400b9bb03b8ca24d3f4fb3477512807ff333d127 /testing | |
parent | e79a133b94039e8a65ee00ebbef6042af0cd787d (diff) | |
download | aports-c0466dea6dde546c9dc40aea28c1b2528b9cb352.tar.bz2 aports-c0466dea6dde546c9dc40aea28c1b2528b9cb352.tar.xz |
testing/php-imagick: new aport (http://bugs.alpinelinux.org/issues/4814)
Diffstat (limited to 'testing')
-rw-r--r-- | testing/php-imagick/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/php-imagick/APKBUILD b/testing/php-imagick/APKBUILD new file mode 100644 index 0000000000..7af34b2f01 --- /dev/null +++ b/testing/php-imagick/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=php-imagick +_pkgreal=imagick +pkgver=3.3.0_rc2 +_pkgver=${pkgver/_rc/RC} +pkgrel=0 +pkgdesc="PHP bindings to the ImageMagick library." +url="http://pecl.php.net/package/$_pkgreal" +arch="all" +license="PHP" +depends= +pecldepends="php-dev autoconf" +makedepends="$pecldepends imagemagick-dev libtool" +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 + [ -d "$pkgdir"/usr/include ] && rm -fr "$pkgdir"/usr/include +} + +md5sums="a7878badbe45671c1b760b0fe54fba11 imagick-3.3.0RC2.tgz" +sha256sums="a6892bc3991772c4622376b7ec18e29e20787b10043600efec0da35b48f5e41b imagick-3.3.0RC2.tgz" +sha512sums="15122c7ed3c69ed1865e4910b2217b292075d80f62b50ab0d0aa9e2cf479a8cb47b06c0201ef62d4541cb7c94bb6e8dcf0fd719a6105e31f44955e87ce47aa44 imagick-3.3.0RC2.tgz" |