blob: cf0f71cb869067d2f0d464030b3323cf30c3f89a (
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
39
40
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"
|