mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/php7-mongodb: rebuild against php 7.2.4
This commit is contained in:
parent
d8c971112f
commit
c741fa4a3e
@ -4,21 +4,19 @@ pkgname=php7-mongodb
|
||||
_pkgreal=mongodb
|
||||
pkgver=1.4.2
|
||||
_pkgver=${pkgver/_rc/RC}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="PHP7 MongoDB driver"
|
||||
url="http://pecl.php.net/package/mongodb"
|
||||
arch="x86_64 armhf"
|
||||
license="PHP"
|
||||
depends="php7-json"
|
||||
makedepends="libressl-dev pcre-dev php7-dev autoconf"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
|
||||
options="!check" # tests requires additional dependencies (vagrant)
|
||||
builddir="$srcdir"/$_pkgreal-$_pkgver
|
||||
|
||||
_builddir="$srcdir"/$_pkgreal-$_pkgver
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
phpize7
|
||||
./configure --prefix=/usr \
|
||||
--with-php-config=/usr/bin/php-config7
|
||||
@ -26,7 +24,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make INSTALL_ROOT="$pkgdir/" install
|
||||
install -d "$pkgdir"/etc/php7/conf.d
|
||||
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
|
||||
|
Loading…
Reference in New Issue
Block a user