Commit 3c932172 authored by Natanael Copa's avatar Natanael Copa
Browse files

community/php5-imagick: rename php to php5

parent ededfd77
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=php-imagick
_php=php5
pkgname=${_php}-imagick
_pkgreal=imagick
pkgver=3.4.1
pkgrel=0
......@@ -9,7 +10,7 @@ url="http://pecl.php.net/package/imagick"
arch="all"
license="PHP"
depends=
pecldepends="php-dev autoconf"
pecldepends="${_php}-dev autoconf"
makedepends="$pecldepends imagemagick-dev libtool"
install=""
subpackages=""
......@@ -30,8 +31,8 @@ build() {
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
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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment