wok-next view libssh2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5841522533ec
children 61bbbfd8f34d
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="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libssh2)
27 copy @std
28 DEPENDS="openssl zlib"
29 ;;
30 libssh2-dev)
31 copy @dev
32 DEPENDS="libssh2 openssl-dev zlib-dev"
33 ;;
34 esac
35 }