wok rev 25301

updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47)
author Hans-G?nter Theisgen
date Wed Jul 20 08:07:57 2022 +0100 (2022-07-20)
parents 82befb1c4c20
children 5d3da6d7eabc
files libsgutils2/receipt sg3_utils-dev/receipt sg3_utils/description.txt sg3_utils/receipt
line diff
     1.1 --- a/libsgutils2/receipt	Wed Jul 20 07:50:09 2022 +0100
     1.2 +++ b/libsgutils2/receipt	Wed Jul 20 08:07:57 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsgutils2"
     1.7 -VERSION="1.45"
     1.8 +VERSION="1.47"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The sg_utils library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -13,7 +13,5 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.19 +	cook_copy_files	*.so*
    1.20  }
     2.1 --- a/sg3_utils-dev/receipt	Wed Jul 20 07:50:09 2022 +0100
     2.2 +++ b/sg3_utils-dev/receipt	Wed Jul 20 08:07:57 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sg3_utils-dev"
     2.7 -VERSION="1.45"
     2.8 +VERSION="1.47"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The sg_utils development files."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -13,8 +13,6 @@
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14  genpkg_rules()
    2.15  {
    2.16 -	mkdir -p $fs/usr/lib
    2.17 -
    2.18 -	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    2.19 -	cp -a $install/usr/include	$fs/usr
    2.20 +	cook_copy_folders	include
    2.21 +	cook_copy_files		*.*a
    2.22  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/sg3_utils/description.txt	Wed Jul 20 08:07:57 2022 +0100
     3.3 @@ -0,0 +1,6 @@
     3.4 +The sg3_utils package contains utilities that send SCSI commands to devices.
     3.5 +As well as devices on transports traditionally associated with SCSI
     3.6 +(e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI
     3.7 +Parallel Interface(SPI)) many other devices use SCSI command sets.
     3.8 +ATAPI optical drives and SATA disks that connect via a translation layer
     3.9 +or a bridge device are examples of devices that use SCSI command sets.
     4.1 --- a/sg3_utils/receipt	Wed Jul 20 07:50:09 2022 +0100
     4.2 +++ b/sg3_utils/receipt	Wed Jul 20 08:07:57 2022 +0100
     4.3 @@ -1,19 +1,21 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="sg3_utils"
     4.7 -VERSION="1.45"
     4.8 +VERSION="1.47"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="Low level utilities for devices that use a SCSI command set."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12  LICENSE="GPL BSD"
    4.13 -WEB_SITE="http://sg.danny.cz/sg/"
    4.14 +WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html"
    4.15  
    4.16  TARBALL="$PACKAGE-$VERSION.tgz"
    4.17 -WGET_URL="${WEB_SITE}p/$TARBALL"
    4.18 +WGET_URL="https://sg.danny.cz/sg/p/$TARBALL"
    4.19  
    4.20  DEPENDS="libsgutils2"
    4.21  BUILD_DEPENDS=""
    4.22  
    4.23 +# @maintainer:	Please update also libsgutils2
    4.24 +
    4.25  # What is the latest version available today?
    4.26  current_version()
    4.27  {
    4.28 @@ -24,8 +26,9 @@
    4.29  # Rules to configure and make the package.
    4.30  compile_rules()
    4.31  {
    4.32 -	./configure		\
    4.33 -		$CONFIGURE_ARGS &&
    4.34 +	export	LDFLAGS="$LDFLAGS -lrt"
    4.35 +
    4.36 +	./configure $CONFIGURE_ARGS &&
    4.37  	make &&
    4.38  	make install
    4.39  }
    4.40 @@ -33,9 +36,5 @@
    4.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.42  genpkg_rules()
    4.43  {
    4.44 -	mkdir -p $fs/usr/lib
    4.45 -
    4.46 -	cp -a $install/usr/bin	$fs/usr
    4.47 -	[ -x "/usr/bin/cook" ] &&
    4.48 -	cook libsgutils2
    4.49 +	cook_copy_folders	bin
    4.50  }