wok-current annotate lsscsi/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="lsscsi" |
Hans-G?nter@24865 | 4 VERSION="0.32" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Lists information about SCSI devices." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
Hans-G?nter@24865 | 9 WEB_SITE="https://sg.danny.cz/scsi/lsscsi.html" |
Hans-G?nter@21380 | 10 |
erjo@621 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@24865 | 12 WGET_URL="https://sg.danny.cz/scsi/$TARBALL" |
erjo@621 | 13 |
pascal@24447 | 14 # What is the latest version available today? |
pascal@24447 | 15 current_version() |
pascal@24447 | 16 { |
pascal@24447 | 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 19 } |
pascal@24447 | 20 |
erjo@621 | 21 # Rules to configure and make the package. |
erjo@621 | 22 compile_rules() |
erjo@621 | 23 { |
Hans-G?nter@23144 | 24 ./configure \ |
Hans-G?nter@23144 | 25 --prefix=/usr \ |
Hans-G?nter@23144 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@23144 | 27 make && |
Hans-G?nter@21380 | 28 make install |
erjo@621 | 29 } |
erjo@621 | 30 |
erjo@621 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 32 genpkg_rules() |
erjo@621 | 33 { |
Hans-G?nter@24865 | 34 cook_copy_folders bin |
erjo@621 | 35 } |