wok view libssh/receipt @ rev 21307

updated libssh and libssh-dev (0.7.5 -> 0.8.7)
author Hans-G?nter Theisgen
date Thu Apr 18 15:10:53 2019 +0100 (2019-04-18)
parents 86790a278e70
children 09c1c92bad93
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.8.7"
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="https://www.libssh.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
13 TAGS="ssh"
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 }