diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 12:31:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:43:07 +0000 |
commit | 3c9321728f5a2f5fb3fea4c448871413ee1a1600 (patch) | |
tree | 7f940b6e74c45fe64c1835195bebf991a6698ebb /community/php5-imagick | |
parent | ededfd778202738bfc326b17bee3e3810d65a072 (diff) | |
download | aports-3c9321728f5a2f5fb3fea4c448871413ee1a1600.tar.bz2 aports-3c9321728f5a2f5fb3fea4c448871413ee1a1600.tar.xz |
community/php5-imagick: rename php to php5
Diffstat (limited to 'community/php5-imagick')
-rw-r--r-- | community/php5-imagick/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/php5-imagick/APKBUILD b/community/php5-imagick/APKBUILD new file mode 100644 index 0000000000..cf0f71cb86 --- /dev/null +++ b/community/php5-imagick/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +_php=php5 +pkgname=${_php}-imagick +_pkgreal=imagick +pkgver=3.4.1 +pkgrel=0 +pkgdesc="PHP bindings to the ImageMagick library." +url="http://pecl.php.net/package/imagick" +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 +prepare() { + cd "$_builddir" + phpize || return 1 +} + +build() { + cd "$_builddir" + ./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="cc4f119a5f27b582f0f10e61451e266f imagick-3.4.1.tgz" +sha256sums="a729fbd69e0aa145824d61dc9225bfb636dcd8421874a5667ac3822e609449e1 imagick-3.4.1.tgz" +sha512sums="9cfaa8dcd56dd2493202b9f2e995ce754080c1309ab8c559f9679b186746000440f460d44f6b133878458ff6fea8bbbf0086c6ec93cc8913cd783610bf70d32f imagick-3.4.1.tgz" |