aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-ssh2
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-03-28 19:07:00 +0200
committerAndy Postnikov <apostnikov@gmail.com>2018-03-29 23:54:43 +0300
commit62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4 (patch)
treee6020958b9ee54c198d0fe61d44794c9155d4d98 /community/php7-ssh2
parentf491cba31971ca3524b3d1c37799874dc47102af (diff)
downloadaports-62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4.tar.bz2
aports-62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4.tar.xz
community/php7-ssh2: modernize
Diffstat (limited to 'community/php7-ssh2')
-rw-r--r--community/php7-ssh2/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/php7-ssh2/APKBUILD b/community/php7-ssh2/APKBUILD
index 0ea2188601..3784e54cb8 100644
--- a/community/php7-ssh2/APKBUILD
+++ b/community/php7-ssh2/APKBUILD
@@ -3,31 +3,31 @@
pkgname=php7-ssh2
_pkgreal=ssh2
pkgver=1.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="PHP extension provide bindings for the libssh2 library"
url="http://pecl.php.net/package/ssh2"
arch="all"
license="PHP"
depends=""
-pecldepends="php7-dev autoconf"
-makedepends="$pecldepends libssh2-dev"
+makedepends="php7-dev autoconf libssh2-dev"
+#options="!check" # Depends on setup of user, cert & running ssh server
source="$pkgname-$pkgver.tgz::http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
- phpize7 || return 1
- ./configure --prefix=/usr --with-php-config=php-config7 || return 1
- make || return 1
+ phpize7
+ ./configure --prefix=/usr --with-php-config=php-config7
+ make
}
package() {
cd "$builddir"
- make INSTALL_ROOT="$pkgdir/" install || return 1
+ make INSTALL_ROOT="$pkgdir/" install
- install -d "$pkgdir"/etc/php7/conf.d || return 1
+ install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
}