blob: 7dffb0ade6848550894d2704d57fe7fdceb296c4 (
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
|
# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
# Contributor: Jarek Sedlacek <jareksedlacek@gmail.com>
pkgname=php-mongo
pkgver=1.4.2
pkgrel=1
pkgdesc="Officially supported PHP driver for MongoDB"
arch=("i686" "x86_64")
url="http://www.mongodb.org/display/DOCS/PHP+Language+Center"
license=("APACHE")
depends=("php")
backup=("etc/php/conf.d/mongo.ini")
source=(
"http://pecl.php.net/get/mongo-$pkgver.tgz"
"mongo.ini"
)
build() {
cd mongo-$pkgver
phpize
./configure --prefix=/usr --enable-mongo
}
package() {
cd mongo-$pkgver
make INSTALL_ROOT="$pkgdir" install
install -Dm644 "$srcdir/mongo.ini" "$pkgdir/etc/php/conf.d/mongo.ini"
}
sha256sums=('ecbf8621c418c35abb0d5e9719432a2f315db2559023861105635bae5bfbd120'
'c89685eee842d5c3a85149a5bb8e310e62bf1a17f94183bb66401593ab2b191b')
|