diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2016-06-18 18:55:31 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-18 21:15:17 +0200 |
commit | d2ce891ad820709784d0822d578fdcdb6bf03d4e (patch) | |
tree | c2c864efa96f230b93edda15aa436f91646c880e /testing | |
parent | 5f74b23ad5816d7e720f2b7b8d8c62d9eef14615 (diff) | |
download | aports-d2ce891ad820709784d0822d578fdcdb6bf03d4e.tar.bz2 aports-d2ce891ad820709784d0822d578fdcdb6bf03d4e.tar.xz |
testing/php5-ssh2: rename abuild and upgrade to 0.13
Diffstat (limited to 'testing')
-rw-r--r-- | testing/php-ssh2/APKBUILD | 36 | ||||
-rw-r--r-- | testing/php5-ssh2/APKBUILD | 33 |
2 files changed, 33 insertions, 36 deletions
diff --git a/testing/php-ssh2/APKBUILD b/testing/php-ssh2/APKBUILD deleted file mode 100644 index 6713e64fb6..0000000000 --- a/testing/php-ssh2/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Valery Kartel <valery.kartel@gmail.com> -# Maintainer: Valery Kartel <valery.kartel@gmail.com> -pkgname=php-ssh2 -_pkgreal=ssh2 -pkgver=0.12 -pkgrel=0 -pkgdesc="PHP extension provide bindings for the libssh2 library" -url="http://pecl.php.net/package/ssh2" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends libssh2-dev" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir/" install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="409b91678a842bb0ff56f2cf018b9160 ssh2-0.12.tgz" -sha256sums="600c82d2393acf3642f19914f06a7afea57ee05cb8c10e8a5510b32188b97f99 ssh2-0.12.tgz" -sha512sums="e48f8051f9234841bb0fc10594dcd90badf2d880d75c4bd59f847e3d4276e9fdd3fe71c1c01c07fb9f552cec470f3dbac6ae1db4d33e5793d3988ea5bac1d5bd ssh2-0.12.tgz" diff --git a/testing/php5-ssh2/APKBUILD b/testing/php5-ssh2/APKBUILD new file mode 100644 index 0000000000..d8bd3de877 --- /dev/null +++ b/testing/php5-ssh2/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=php5-ssh2 +_pkgreal=ssh2 +pkgver=0.13 +pkgrel=0 +pkgdesc="PHP extension provide bindings for the libssh2 library" +url="http://pecl.php.net/package/ssh2" +arch="all" +license="PHP" +depends="" +pecldepends="php5-dev autoconf" +makedepends="$pecldepends libssh2-dev" +source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + phpize || return 1 + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir/" install || return 1 + install -d "$pkgdir"/etc/php5/conf.d || return 1 + echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php5/conf.d/$_pkgreal.ini +} + +md5sums="e35f8438b3f6177066166c8c1916f44e ssh2-0.13.tgz" +sha256sums="cb2cb8ab840b5b36bcd8a8df06ea4a970a61e4cb3980f3c0ac5c913522e6c1be ssh2-0.13.tgz" +sha512sums="c031e22853bf5cf8ee59dc5b99d9e7e60af1507a22e7d0a9e2f54b8f1758a03a6cea91c539e0f667d48ec66185fdc8a28c47e5a1e10a72220c0cb16b3948e1d0 ssh2-0.13.tgz" |