Advertisement
Guest User

Untitled

a guest
Sep 21st, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.07 KB | None | 0 0
  1. # Maintainer: Leif Warner <abimelech@gmail.com>
  2. pkgname=geocouch
  3. pkgver=0.3.0
  4. pkgrel=1
  5. pkgdesc="A CouchDB add-on to support geospatial indexing and queries."
  6. arch=('i686' 'x86_64')
  7. url="http://github.com/couchbase/geocouch"
  8. license=('APACHE')
  9. depends=('couchdb')
  10. source=('https://github.com/couchbase/geocouch/tarball/couchdb1.2.x_v0.3.0')
  11. install=geocouch.install
  12. md5sums=('61b8c716b2901109ee6fb8b8abe9f7c7')
  13.  
  14. build() {
  15.     cd "$srcdir/couchbase-geocouch-d815127"
  16.     export COUCH_SRC=/usr/lib/couchdb/erlang/lib/couch-1.2.0/include/
  17.     make
  18. }
  19.  
  20. package() {
  21.     cd "$srcdir/couchbase-geocouch-d815127"
  22.     install -d -m755 -o couchdb -g daemon $pkgdir/etc/couchdb/default.d
  23.     install -m644 -o couchdb -g daemon etc/couchdb/default.d/geocouch.ini $pkgdir/etc/couchdb/default.d/geocouch.ini
  24.     install -d $pkgdir/usr/share/couchdb/www/script/test
  25.     install -t $pkgdir/usr/share/couchdb/www/script/test share/www/script/test/*
  26.     install -d $pkgdir/usr/lib/couchdb/erlang/lib/geocouch/ebin
  27.     install -t $pkgdir/usr/lib/couchdb/erlang/lib/geocouch/ebin ebin/*
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement