blob: 63ceb7b48d2c6761e3eb8b507dd22c2547aea173 (
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.2
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="3f80e35c2434636cdb5df01b221b3ffa imagick-3.4.2.tgz"
sha256sums="8e16b7bc6cf6567f4b4c4ac7294cbf650fe050a848c6a7ba6e2bee02097ab4a8 imagick-3.4.2.tgz"
sha512sums="5e7cf495f4d6377a54b207b3fa14a5b2cff9d89dbe9c17b88c66102138ff9f485a34669138cf7903c5b54eb9d5d49f6fa2629216c487e56dc6b1e6c5c68ac1d2 imagick-3.4.2.tgz"
|