wok view libssh/receipt @ rev 23103

updated libssh and libssh-dev (0.8.7 -> 0.9.3)
author Hans-G?nter Theisgen
date Thu Mar 12 11:22:59 2020 +0100 (2020-03-12)
parents c37502c14e80
children 35292b022843
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.9.3"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="Library for accessing ssh client services through C libraries."
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.libssh.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
15 DEPENDS="libssl"
16 BUILD_DEPENDS="cmake openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake ../ \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_BUILD_TYPE=Release &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }