wok-current annotate libssh2/receipt @ rev 25234

updated python-routes (2.4.1 -> 2.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:31:59 2022 +0100 (2022-07-13)
parents 83b97236db32
children
rev   line source
pascal@17533 1 # SliTaz package receipt.
pascal@17533 2
pascal@17533 3 PACKAGE="libssh2"
Hans-G?nter@24834 4 VERSION="1.10.0"
pascal@17533 5 CATEGORY="network"
Hans-G?nter@24834 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 &&
Hans-G?nter@24834 32 make install DESTDIR=$DESTDIR
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 {
Hans-G?nter@24834 38 cook_copy_files *.so*
pascal@17533 39 }