blob: 7af34b2f01a2c0f167f68f340e41bf979e4d579e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
|