wok-6.x annotate sshpass/receipt @ rev 25525

created recipe for lua5.1-lpeg 1.0.2
author Hans-G?nter Theisgen
date Fri Feb 24 17:54:40 2023 +0100 (21 months ago)
parents ad0bc3efbf37
children
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"
pascal@25510 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@25457 16 # What is the latest version available today?
pascal@24105 17 current_version()
pascal@24105 18 {
pascal@24105 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@24105 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24453 21 sed '/scope="row/!d;s|.*sshpass/||;s|/.*||;q'
pascal@24105 22 }
pascal@24105 23
pascal@17326 24 # Rules to configure and make the package.
pascal@17326 25 compile_rules()
pascal@17326 26 {
Hans-G?nter@21969 27 ./configure \
Hans-G?nter@21969 28 --prefix=/usr \
Hans-G?nter@21969 29 $CONFIGURE_ARGS &&
Hans-G?nter@21969 30 make &&
Hans-G?nter@24290 31 make install DESTDIR=$DESTDIR
pascal@17326 32 }
pascal@17326 33
pascal@17326 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17326 35 genpkg_rules()
pascal@17326 36 {
Hans-G?nter@24290 37 cook_copy_folders bin
pascal@17326 38 }