diff options
-rw-r--r-- | testing/php7-mongodb/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/testing/php7-mongodb/APKBUILD b/testing/php7-mongodb/APKBUILD index 1fdbe8703d..4421d221c9 100644 --- a/testing/php7-mongodb/APKBUILD +++ b/testing/php7-mongodb/APKBUILD @@ -19,17 +19,16 @@ options="!check" # tests requires additional dependencies (vagrant) _builddir="$srcdir"/$_pkgreal-$_pkgver build() { cd "$_builddir" - phpize7 || return 1 + phpize7 ./configure --prefix=/usr \ - --with-php-config=/usr/bin/php-config7 \ - || return 1 - make || return 1 + --with-php-config=/usr/bin/php-config7 + make } package() { cd "$_builddir" - make INSTALL_ROOT="$pkgdir/" install || return 1 - install -d "$pkgdir"/etc/php7/conf.d || return 1 + make INSTALL_ROOT="$pkgdir/" install + install -d "$pkgdir"/etc/php7/conf.d echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini } |