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