SHARE
TWEET

php-mongo PKGBUILD

a guest Jan 19th, 2011 254 Never
  1. # $Id$
  2. # Maintainer: Dino Krtanjek <krtanjekdino@gmail.com>
  3. # Maintainer: Richard Rowe <arch.richard@gmail.com>
  4. # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
  5. pkgname=php-mongo
  6. pkgver=1.1.3
  7. pkgrel=1
  8. pkgdesc="Officially supported PHP driver for MongoDB"
  9. arch=("i686" "x86_64")
  10. url="http://www.mongodb.org/display/DOCS/PHP+Language+Center"
  11. license=("APACHE")
  12. depends=("php")
  13. backup=("etc/php/conf.d/mongo.ini")
  14. source=("http://pecl.php.net/get/mongo-$pkgver.tgz" "mongo.ini")
  15. md5sums=("1d01408ae39d2ce813d240cd52efce30"
  16.          "07788441b7bd998ee0dea01386b4960a")
  17. build() {
  18.   cd "$srcdir/mongo-$pkgver"
  19.   phpize
  20.   ./configure --prefix=/usr --enable-mongo
  21.   make INSTALL_ROOT=$pkgdir install
  22.   install -Dm644 $srcdir/mongo.ini "$pkgdir/etc/php/conf.d/mongo.ini"
  23. }
RAW Paste Data
Top