wok view libssh2/receipt @ rev 25726

renamed xfce4-ristretto to ristretto
author Hans-G?nter Theisgen
date Sat Aug 17 17:30:48 2024 +0100 (2 months ago)
parents 84001f5ff445
children 54b8c7c6fe47
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh2"
4 VERSION="1.11.0"
5 CATEGORY="network"
6 SHORT_DESC="A client-side C library implementing the SSH2 protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.libssh2.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 DEPENDS="libgcrypt libgpg-error libssl zlib"
15 BUILD_DEPENDS="libgcrypt-dev openssl-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }