wok-6.x annotate libssh2/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | 67692aafbf59 |
children | 84001f5ff445 |
rev | line source |
---|---|
pascal@17533 | 1 # SliTaz package receipt. |
pascal@17533 | 2 |
pascal@17533 | 3 PACKAGE="libssh2" |
Hans-G?nter@23105 | 4 VERSION="1.9.0" |
pascal@17533 | 5 CATEGORY="network" |
Hans-G?nter@23105 | 6 SHORT_DESC="A client-side C library implementing the SSH2 protocol." |
pascal@17533 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17533 | 8 LICENSE="BSD" |
Hans-G?nter@23105 | 9 WEB_SITE="https://www.libssh2.org/" |
Hans-G?nter@23105 | 10 |
pascal@17533 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17533 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
pascal@17533 | 13 |
Hans-G?nter@23105 | 14 DEPENDS="libgcrypt libgpg-error libssl zlib" |
Hans-G?nter@23105 | 15 BUILD_DEPENDS="libgcrypt-dev openssl-dev zlib-dev" |
pascal@17533 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24427 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
pascal@17533 | 24 # Rules to configure and make the package. |
pascal@17533 | 25 compile_rules() |
pascal@17533 | 26 { |
Hans-G?nter@23105 | 27 ./configure \ |
Hans-G?nter@23105 | 28 --prefix=/usr \ |
Hans-G?nter@23105 | 29 --mandir=/usr/share/man \ |
pascal@17533 | 30 $CONFIGURE_ARGS && |
pascal@17533 | 31 make && |
pascal@17533 | 32 make DESTDIR=$DESTDIR install |
pascal@17533 | 33 } |
pascal@17533 | 34 |
pascal@17533 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17533 | 36 genpkg_rules() |
pascal@17533 | 37 { |
pascal@17533 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@23105 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17533 | 40 } |