wok-next annotate libssh2/receipt @ rev 20616

xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 05:15:11 2018 +0300 (2018-04-21)
parents 0e7893ac206d
children d5aab818505e
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
al@20443 17 compile_rules() {
al@20595 18 ./configure $CONFIGURE_ARGS &&
al@20595 19 fix libtool &&
al@20595 20 make &&
al@20595 21 make install
pascal@17533 22 }
pascal@17533 23
al@20443 24 genpkg_rules() {
al@19741 25 case $PACKAGE in
al@19741 26 libssh2)
al@19741 27 copy @std
al@20443 28 DEPENDS="openssl zlib"
al@19741 29 ;;
al@19741 30 libssh2-dev)
al@19741 31 copy @dev
al@20443 32 DEPENDS="libssh2 openssl-dev zlib-dev"
al@19741 33 ;;
al@19741 34 esac
pascal@17533 35 }