diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-04-07 00:18:36 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-04-07 00:18:36 +0000 |
commit | b4903775fe49f269e820acf39e32561924f5e5d2 (patch) | |
tree | 468747c2c0726f14e12aea4750269324e2ec7354 /community/xapian-bindings/APKBUILD | |
parent | 71d024f91830436d4007f82ec37a25da282dbca9 (diff) | |
download | aports-b4903775fe49f269e820acf39e32561924f5e5d2.tar.bz2 aports-b4903775fe49f269e820acf39e32561924f5e5d2.tar.xz |
community/xapian-bindings: drop php5 support
Diffstat (limited to 'community/xapian-bindings/APKBUILD')
-rw-r--r-- | community/xapian-bindings/APKBUILD | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/community/xapian-bindings/APKBUILD b/community/xapian-bindings/APKBUILD index d21762ecc5..6ba9ce2a9a 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.3 -pkgrel=1 +pkgrel=2 pkgdesc="Binding libraries for xapian" url="http://www.xapian.org" arch="all" @@ -12,7 +12,7 @@ makedepends="automake autoconf libtool bash xapian-core-dev perl-dev lua5.2-dev - php5-dev php7-dev + php7-dev python-dev py-sphinx-autobuild py2-requests py-setuptools python3-dev py3-requests ruby-dev ruby ruby-rdoc ruby-irb @@ -40,8 +40,6 @@ build() { export PERL=/usr/bin/perl export PERL_LIB=/usr/share/perl5/vendor_perl export PERL_ARCH=/usr/share/perl5/vendor_perl - export PHP=/usr/bin/php - export PHP_CONFIG=/usr/bin/php-config export PHP7=/usr/bin/php7 export PHP_CONFIG7=/usr/bin/php-config7 export PYTHON2=/usr/bin/python2 @@ -57,7 +55,6 @@ build() { --prefix=/usr \ --with-perl \ --with-lua \ - --with-php \ --with-php7 \ --with-python \ --with-python3 \ @@ -84,18 +81,6 @@ php7() { # mv "$pkgdir"/usr/share/php7 "$subpkgdir"/usr/share/ } -php() { - pkgdesc="PHP bindings for the Xapian search engine library" - - install -d "$subpkgdir"/usr/share/php5 \ - "$subpkgdir"/usr/lib/php5/modules \ - "$subpkgdir"/etc/php5/conf.d || return 1 - echo ';extension=xapian.so' > "$subpkgdir/etc/php5/conf.d/xapian.ini" \ - || return 1 - mv "$pkgdir"/usr/lib/php5/modules/* "$subpkgdir"/usr/lib/php5/modules/ - mv "$pkgdir"/usr/share/php5 "$subpkgdir"/usr/share/ -} - perl() { pkgdesc="Perl bindings for the Xapian search engine library" |