wok view sg3_utils/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
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 }