wok-current view sg3_utils/receipt @ rev 25380
updated unhide (20130526 -> 20210124)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 16:42:50 2022 +0100 (2022-07-30) |
parents | 934055de50e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sg3_utils"
4 VERSION="1.47"
5 CATEGORY="system-tools"
6 SHORT_DESC="Low level utilities for devices that use a SCSI command set."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL BSD"
9 WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://sg.danny.cz/sg/p/$TARBALL"
14 DEPENDS="libsgutils2"
15 BUILD_DEPENDS=""
17 # @maintainer: Please update also libsgutils2
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -lrt"
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }