This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

php-mongo PKGBUILD

By: a guest on Jan 19th, 2011  |  syntax: Bash  |  size: 0.79 KB  |  views: 250  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data