diff options
author | TBK <tbk@jjtc.dk> | 2018-03-28 19:07:00 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-03-29 23:54:43 +0300 |
commit | 62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4 (patch) | |
tree | e6020958b9ee54c198d0fe61d44794c9155d4d98 /community/php7-ssh2/APKBUILD | |
parent | f491cba31971ca3524b3d1c37799874dc47102af (diff) | |
download | aports-62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4.tar.bz2 aports-62eb34f2debd8fea32ecff0a6b1ac60422fc3eb4.tar.xz |
community/php7-ssh2: modernize
Diffstat (limited to 'community/php7-ssh2/APKBUILD')
-rw-r--r-- | community/php7-ssh2/APKBUILD | 16 |
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 } |