mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 01:11:33 +02:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# 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"
|