blob: 6713e64fb66f31e776cde42e662545de3ae2315d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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"
|