aboutsummaryrefslogtreecommitdiffstats
path: root/community/xapian-bindings
diff options
context:
space:
mode:
Diffstat (limited to 'community/xapian-bindings')
-rw-r--r--community/xapian-bindings/APKBUILD26
1 files changed, 3 insertions, 23 deletions
diff --git a/community/xapian-bindings/APKBUILD b/community/xapian-bindings/APKBUILD
index 10fdb2f665..30baf3813e 100644
--- a/community/xapian-bindings/APKBUILD
+++ b/community/xapian-bindings/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xapian-bindings
pkgver=1.4.19
-pkgrel=0
+pkgrel=2
pkgdesc="Binding libraries for xapian"
url="http://www.xapian.org"
arch="all"
@@ -14,7 +14,6 @@ _py_makedepends="
py3-requests py3-setuptools
py3-urllib3 py3-chardet py3-idna
python3-dev py3-certifi"
-_php_makedepends="php7-dev"
_perl_makedepends="perl-dev"
_lua_makedepends="lua5.3-dev"
_ruby_makedepends="ruby-dev ruby ruby-rdoc"
@@ -22,14 +21,12 @@ _tcl_makedepends="tcl-dev"
makedepends="automake autoconf libtool bash xapian-core-dev sphinx
$_py_makedepends
- $_php_makedepends
$_perl_makedepends
$_lua_makedepends
$_ruby_makedepends
$_tcl_makedepends"
subpackages="$pkgname-perl $pkgname-lua $pkgname-doc
- $pkgname-python3 $pkgname-ruby $pkgname-tcl
- $pkgname-php7"
+ $pkgname-python3 $pkgname-ruby $pkgname-tcl"
source="http://www.oligarchy.co.uk/xapian/$pkgver/xapian-bindings-$pkgver.tar.xz"
@@ -50,8 +47,6 @@ build() {
export PERL=/usr/bin/perl
export PERL_LIB=/usr/share/perl5/vendor_perl
export PERL_ARCH=/usr/share/perl5/vendor_perl
- export PHP7=/usr/bin/php7
- export PHP_CONFIG7=/usr/bin/php-config7
export PYTHON3=/usr/bin/python3
export RUBY=/usr/bin/ruby
export RUBY_LIB=/usr/lib/ruby
@@ -64,7 +59,7 @@ build() {
--prefix=/usr \
--with-perl \
--with-lua \
- --with-php7 \
+ --without-php7 \
--with-python3 \
--with-ruby \
--with-tcl \
@@ -76,21 +71,6 @@ package() {
make DESTDIR=$pkgdir install
}
-php7() {
- pkgdesc="PHP7 bindings for the Xapian search engine library"
-
- install -d "$subpkgdir"/usr/share/php7 \
- "$subpkgdir"/usr/lib/php7/modules \
- "$subpkgdir"/etc/php7/conf.d
- echo ';extension=xapian.so' > "$subpkgdir/etc/php7/conf.d/xapian.ini"
-
- if [ -d "$pkgdir"/usr/lib/php7/modules ]; then
- mv "$pkgdir"/usr/lib/php7/modules/* "$subpkgdir"/usr/lib/php7/modules/
- else
- mv "$pkgdir"/usr/lib/php7/* "$subpkgdir"/usr/lib/php7/
- fi
-}
-
perl() {
pkgdesc="Perl bindings for the Xapian search engine library"