wok-6.x view libssh/receipt @ rev 23844
linld/readmenu: do not forget to lseek
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 10:41:01 2020 +0000 (2020-06-13) |
parents | 09c1c92bad93 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.9.4"
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 }