wok annotate sshpass/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | a3e66646ebf7 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@17326 | 1 # SliTaz package receipt. |
pascal@17326 | 2 |
pascal@17326 | 3 PACKAGE="sshpass" |
Hans-G?nter@24290 | 4 VERSION="1.09" |
pascal@17326 | 5 CATEGORY="network" |
Hans-G?nter@21969 | 6 SHORT_DESC="Non-interactive ssh password authentication." |
pascal@17326 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17326 | 8 LICENSE="GPL2" |
Hans-G?nter@21969 | 9 WEB_SITE="https://sourceforge.net/projects/sshpass/" |
Hans-G?nter@21969 | 10 |
pascal@17326 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17326 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21969 | 13 |
pascal@17326 | 14 SUGGESTED="openssh" |
pascal@17326 | 15 |
pascal@24105 | 16 current_version() |
pascal@24105 | 17 { |
pascal@24105 | 18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24105 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24453 | 20 sed '/scope="row/!d;s|.*sshpass/||;s|/.*||;q' |
pascal@24105 | 21 } |
pascal@24105 | 22 |
pascal@17326 | 23 # Rules to configure and make the package. |
pascal@17326 | 24 compile_rules() |
pascal@17326 | 25 { |
Hans-G?nter@21969 | 26 ./configure \ |
Hans-G?nter@21969 | 27 --prefix=/usr \ |
Hans-G?nter@21969 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21969 | 29 make && |
Hans-G?nter@24290 | 30 make install DESTDIR=$DESTDIR |
pascal@17326 | 31 } |
pascal@17326 | 32 |
pascal@17326 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17326 | 34 genpkg_rules() |
pascal@17326 | 35 { |
Hans-G?nter@24290 | 36 cook_copy_folders bin |
pascal@17326 | 37 } |