wok view libssh/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (2 months ago)
parents d88295c12cfc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.10.6"
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://git.libssh.org/projects/libssh.git/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir _build &&
29 cd _build &&
30 cmake .. \
31 -D CMAKE_INSTALL_PREFIX=/usr \
32 -D CMAKE_BUILD_TYPE=Release &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so*
41 }