wok-next view libssh2/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 9278a60d6895 |
children | 5841522533ec |
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 compile_rules() {
18 ./configure $CONFIGURE_ARGS && make && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 libssh2)
24 copy @std
25 DEPENDS="openssl zlib"
26 ;;
27 libssh2-dev)
28 copy @dev
29 DEPENDS="libssh2 openssl-dev zlib-dev"
30 ;;
31 esac
32 }