wok-current annotate sshpass/receipt @ rev 24196
updated perl-datetime-locale (0.45 -> 1.33)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:04:43 2021 +0100 (2021-12-31) |
parents | 464054350afc |
children | a3e66646ebf7 |
rev | line source |
---|---|
pascal@17326 | 1 # SliTaz package receipt. |
pascal@17326 | 2 |
pascal@17326 | 3 PACKAGE="sshpass" |
Hans-G?nter@21969 | 4 VERSION="1.06" |
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@24105 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;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@21969 | 30 make DESTDIR=$DESTDIR install |
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 { |
pascal@17326 | 36 mkdir -p $fs/usr |
pascal@17326 | 37 cp -a $install/usr/bin $fs/usr |
pascal@17326 | 38 } |