wok-next view libssh2/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 1b1490b81f6b |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libssh2"
4 VERSION="1.8.0"
5 CATEGORY="network"
6 SHORT_DESC="A client-side C library implementing the SSH2 protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.libssh2.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 BUILD_DEPENDS="openssl-dev zlib-dev"
15 SPLIT="libssh2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 libssh2)
28 copy @std
29 DEPENDS="libssl libcrypto zlib"
30 ;;
31 libssh2-dev)
32 copy @dev
33 DEPENDS="libssh2 openssl-dev libcrypto-dev zlib-dev"
34 ;;
35 esac
36 }