wok annotate sg3_utils/receipt @ rev 24846
updated liburcu and liburcu-dev (0.11.1 -> 0.13.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 14:39:12 2022 +0100 (2022-03-25) |
parents | 598e8c4f7768 |
children | 7fb83ac61334 |
rev | line source |
---|---|
pankso@12479 | 1 # SliTaz package receipt. |
pankso@12479 | 2 |
pankso@12479 | 3 PACKAGE="sg3_utils" |
Hans-G?nter@23641 | 4 VERSION="1.45" |
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@23641 | 9 WEB_SITE="http://sg.danny.cz/sg/" |
Hans-G?nter@23641 | 10 |
pankso@12479 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@23641 | 12 WGET_URL="${WEB_SITE}p/$TARBALL" |
pankso@12479 | 13 |
pankso@12479 | 14 DEPENDS="libsgutils2" |
pankso@12479 | 15 BUILD_DEPENDS="" |
pankso@12479 | 16 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24462 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pankso@12479 | 24 # Rules to configure and make the package. |
pankso@12479 | 25 compile_rules() |
pankso@12479 | 26 { |
Hans-G?nter@23641 | 27 ./configure \ |
pankso@12479 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@23641 | 29 make && |
Hans-G?nter@23641 | 30 make install |
pankso@12479 | 31 } |
pankso@12479 | 32 |
pankso@12479 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12479 | 34 genpkg_rules() |
pankso@12479 | 35 { |
pankso@12479 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@23641 | 37 |
Hans-G?nter@23641 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23641 | 39 [ -x "/usr/bin/cook" ] && |
Hans-G?nter@23641 | 40 cook libsgutils2 |
pankso@12479 | 41 } |