wok annotate sg3_utils/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 months ago)
parents 934055de50e2
children
rev   line source
pankso@12479 1 # SliTaz package receipt.
pankso@12479 2
pankso@12479 3 PACKAGE="sg3_utils"
Hans-G?nter@25301 4 VERSION="1.47"
pankso@12479 5 CATEGORY="system-tools"
pankso@12479 6 SHORT_DESC="Low level utilities for devices that use a SCSI command set."
pankso@12479 7 MAINTAINER="pankso@slitaz.org"
pascal@15021 8 LICENSE="GPL BSD"
Hans-G?nter@25301 9 WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html"
Hans-G?nter@23641 10
pankso@12479 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@25301 12 WGET_URL="https://sg.danny.cz/sg/p/$TARBALL"
pankso@12479 13
pankso@12479 14 DEPENDS="libsgutils2"
pankso@12479 15 BUILD_DEPENDS=""
pankso@12479 16
Hans-G?nter@25301 17 # @maintainer: Please update also libsgutils2
Hans-G?nter@25301 18
pascal@24462 19 # What is the latest version available today?
pascal@24462 20 current_version()
pascal@24462 21 {
pascal@24462 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24462 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 24 }
pascal@24462 25
pankso@12479 26 # Rules to configure and make the package.
pankso@12479 27 compile_rules()
pankso@12479 28 {
Hans-G?nter@25301 29 export LDFLAGS="$LDFLAGS -lrt"
Hans-G?nter@25301 30
Hans-G?nter@25301 31 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@23641 32 make &&
Hans-G?nter@23641 33 make install
pankso@12479 34 }
pankso@12479 35
pankso@12479 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12479 37 genpkg_rules()
pankso@12479 38 {
Hans-G?nter@25301 39 cook_copy_folders bin
pankso@12479 40 }