1 # Contributor: Eric Webb <eric AT collectivegenius DOT net> (based on xapian-ruby-bindings by Sean Escriva <sean.escriva@gmail.com>)
2 pkgname=xapian-ruby1.8-bindings
8 pkgdesc="Bindings allowing Xapian to be used from Ruby"
11 url="http://www.xapian.org"
12 depends=("xapian-core=${_xapianver}" 'ruby1.8' )
13 makedepends=("xapian-core=${_xapianver}" 'ruby1.8')
14 source=(http://www.oligarchy.co.uk/xapian/${_xapianver}/xapian-bindings-${_xapianver}.tar.gz)
15 md5sums=('4bfe673c71ac074e349ef691d7ba56d0')
17 RUBY=/opt/ruby1.8/bin/ruby
22 cd ${startdir}/src/xapian-bindings-${_xapianver}
24 ./configure --prefix=/usr/ --with-ruby RUBY="$RUBY"
27 make DESTDIR=${startdir}/pkg install