aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xapian-bindings/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-12-15 18:34:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-12-15 18:35:32 +0000
commit9a27d4ddda39a18e978a57ea982f9ff6d4050c8f (patch)
treef859e3e3311bb20309c28552c444a1b8d55da899 /testing/xapian-bindings/APKBUILD
parentee98493a67d94229a5072028d6c1aef70d7c3524 (diff)
downloadaports-9a27d4ddda39a18e978a57ea982f9ff6d4050c8f.tar.gz
aports-9a27d4ddda39a18e978a57ea982f9ff6d4050c8f.tar.bz2
aports-9a27d4ddda39a18e978a57ea982f9ff6d4050c8f.tar.xz
xapian-bindings/APKBUILD: added support for lua 5.2, bumped pkgrel
Diffstat (limited to 'testing/xapian-bindings/APKBUILD')
-rw-r--r--testing/xapian-bindings/APKBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/testing/xapian-bindings/APKBUILD b/testing/xapian-bindings/APKBUILD
index 82df1ef6d3..30385216a9 100644
--- a/testing/xapian-bindings/APKBUILD
+++ b/testing/xapian-bindings/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-bindings
pkgver=1.2.19
-pkgrel=4
+pkgrel=5
pkgdesc="Binding libraries for xapian"
url="http://www.xapian.org"
arch="all"
license="GPL2+"
depends=""
-depends_dev="bash xapian-core-dev perl-dev lua5.1-dev
+depends_dev="bash xapian-core-dev perl-dev lua5.2-dev
php-dev php-cli python-dev ruby-dev tcl-dev"
makedepends="$depends_dev automake autoconf libtool"
install=""
@@ -32,21 +32,21 @@ prepare() {
build() {
cd "$_builddir"
- export LUA=/usr/bin/lua5.1
- export LUA_INC=/usr/include
- export LUA_LIB=/usr/lib/lua/5.1
+ export LUA=/usr/bin/lua5.2
+ export LUA_INC=/usr/include/lua5.2
+ export LUA_LIB=/usr/lib/lua/5.2
export LUA_SO=.so
export PERL=/usr/bin/perl
- export PERL_LIB=/usr/lib/perl5/site_perl
- export PERL_ARCH=/usr/lib/perl5/site_perl
+ export PERL_LIB=/usr/share/perl5/vendor_perl
+ export PERL_ARCH=/usr/share/perl5/vendor_perl
export PHP=/usr/bin/php
export PYTHON=/usr/bin/python
export PYTHON_LIB=/usr/lib/python2.7/site-packages
export RUBY=/usr/bin/ruby
export RUBY_LIB=/usr/lib/site_ruby
export RUBY_LIB_ARCH=/usr/lib/site_ruby
- export TCL=/usr/bin/tcl
- export TCL_LIB=/usr/lib/xapian-bindings$pkgver
+ export TCLSH=/usr/bin/tclsh8.6
+ export TCL_LIB=/usr/lib/tcl8.6/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -81,9 +81,8 @@ php() {
perl() {
arch="all"
pkgdesc="Perl bindings for the Xapian search engine library"
- install -d "$subpkgdir"/usr/lib/perl5
- mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
- #mv "$pkgdir"/usr/share/perl5 "$subpkgdir"/usr/share/
+ install -d "$subpkgdir"/usr/share/perl5
+ mv "$pkgdir"/usr/share/perl5 "$subpkgdir"/usr/share/
}
lua() {
@@ -110,8 +109,8 @@ ruby() {
tcl() {
arch="all"
pkgdesc="Tcl bindings for the Xapian search engine library"
- install -d "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/$pkgname$pkgver "$subpkgdir"/usr/lib
+ install -d "$subpkgdir"/usr/lib/tcl8.6
+ mv "$pkgdir"/usr/lib/tcl8.6/$pkgname-$pkgver "$subpkgdir"/usr/lib/tcl8.6
}
md5sums="d473b5493567eb8363d96f1e20721c90 xapian-bindings-1.2.19.tar.xz"