wok-6.x view libssh2/receipt @ rev 24822
updated libplist and libplist-dev (2.0.0 -> 2.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 11:26:00 2022 +0100 (2022-03-23) |
parents | 67692aafbf59 |
children | 84001f5ff445 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh2"
4 VERSION="1.9.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 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }