wok-next view libssh/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | b19ddba309f9 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libssh"
4 VERSION="0.7.5"
5 CATEGORY="network"
6 SHORT_DESC="Library for accessing SSH client services through C libraries"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libssh.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL"
13 TARBALL_MD5="d3fc864208bf607ad87cdee836894feb"
15 BUILD_DEPENDS="cmake zlib-dev libgcrypt-dev" # or openssl-dev (currently broken)
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DWITH_GSSAPI=OFF \
25 -DWITH_GCRYPT=ON \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libssh)
34 copy @std
35 DEPENDS="libgcrypt zlib" # or openssl
36 TAGS="ssh"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }