blob: d8bd3de8773ea0d498c79e4eafed79c3a9a195a7 (
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
|
# 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"
|