blob: 12c0a60e602d76d3ebde247c1d1276bdb98e7a0f (
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
|
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=php5-couchbase
_pkgreal=couchbase
replaces=php-couchbase
replaces_priority=1
pkgver=2.2.0
pkgrel=0
pkgdesc="PHP extension couchbase"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="ASL 2.0"
depends=""
pecldepends="php5-dev autoconf"
makedepends="$pecldepends libcouchbase-dev zlib-dev"
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
make test || return 1
}
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir"/ install || return 1
install -d "$pkgdir"/etc/php5/conf.d || return 1
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php5/conf.d/$_pkgreal.ini
}
md5sums="2fc38ba46db959daaadd4387579fdab8 couchbase-2.2.0.tgz"
sha256sums="6ce11f344bd01df7e8b96894ea3db44e72a273633d67f80dbc130147cc161acc couchbase-2.2.0.tgz"
sha512sums="8c3e01e6c7e9b8509ac8900678a5fc4a47d8dfd0f31979b2a4c86f0a6ce195645dd60c4eff1b36b070cb3d9c78cd63edf7c9f162dc1c505b3e8d365a72cfd1f3 couchbase-2.2.0.tgz"
|