wok view lsscsi/receipt @ rev 24702

updated knock (0.7.8 -> 0.8)
author Hans-G?nter Theisgen
date Mon Mar 14 09:51:46 2022 +0100 (2022-03-14)
parents c63cfbfd7df6
children 6b8d990facac
line source
1 # SliTaz package receipt.
3 PACKAGE="lsscsi"
4 VERSION="0.31"
5 CATEGORY="system-tools"
6 SHORT_DESC="Lists information about SCSI devices."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://sg.danny.cz/scsi/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }