wok-current annotate libssh/receipt @ rev 24849
updated libwebp and libwebp-dev (1.1.0 -> 1.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 17:27:11 2022 +0100 (2022-03-25) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
Hans-G?nter@24833 | 4 VERSION="0.9.6" |
slaxemulator@8145 | 5 CATEGORY="network" |
Hans-G?nter@23103 | 6 TAGS="ssh" |
Hans-G?nter@21307 | 7 SHORT_DESC="Library for accessing ssh client services through C libraries." |
slaxemulator@8145 | 8 MAINTAINER="slaxemulator@gmail.com" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@21307 | 10 WEB_SITE="https://www.libssh.org/" |
Hans-G?nter@21307 | 11 |
pascal@18051 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21307 | 13 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL" |
slaxemulator@8145 | 14 |
pascal@14718 | 15 DEPENDS="libssl" |
Hans-G?nter@21307 | 16 BUILD_DEPENDS="cmake openssl-dev" |
pascal@14718 | 17 |
pascal@24447 | 18 # What is the latest version available today? |
pascal@24447 | 19 current_version() |
pascal@24447 | 20 { |
pascal@24447 | 21 wget -O - https://git.libssh.org/projects/libssh.git/ 2>/dev/null | \ |
pascal@24447 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 23 } |
pascal@24447 | 24 |
slaxemulator@8145 | 25 # Rules to configure and make the package. |
slaxemulator@8145 | 26 compile_rules() |
slaxemulator@8145 | 27 { |
Hans-G?nter@24833 | 28 mkdir _build && |
Hans-G?nter@24833 | 29 cd _build && |
Hans-G?nter@24833 | 30 cmake .. \ |
Hans-G?nter@24833 | 31 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24833 | 32 -D CMAKE_BUILD_TYPE=Release && |
Hans-G?nter@24833 | 33 make && |
Hans-G?nter@24833 | 34 make install DESTDIR=$DESTDIR |
slaxemulator@8145 | 35 } |
slaxemulator@8145 | 36 |
slaxemulator@8145 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8145 | 38 genpkg_rules() |
slaxemulator@8145 | 39 { |
Hans-G?nter@24833 | 40 cook_copy_files *.so* |
slaxemulator@8145 | 41 } |