wok-6.x annotate lsscsi/receipt @ rev 24762

avfs: copy mountavfs and umountavfs with proper permissions
author Hans-G?nter Theisgen
date Fri Mar 18 15:07:58 2022 +0100 (2022-03-18)
parents c63cfbfd7df6
children 6b8d990facac
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="lsscsi"
Hans-G?nter@23144 4 VERSION="0.31"
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@21380 9 WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html"
Hans-G?nter@21380 10
erjo@621 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@2559 12 WGET_URL="http://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@21380 34 mkdir -p $fs/usr
Hans-G?nter@23144 35 cp -a $install/usr/bin $fs/usr
erjo@621 36 }