wok-next view libssh/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | e6615350078d |
children | d5aab818505e |
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="slaxemulator@gmail.com"
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="libssh-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 }