# HG changeset patch # User Hans-G?nter Theisgen # Date 1658300877 -3600 # Node ID 7fb83ac61334df3e41b0e394a033b218dea0fc49 # Parent 82befb1c4c20d0417648eb79b558aa5dab478bdf updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47) diff -r 82befb1c4c20 -r 7fb83ac61334 libsgutils2/receipt --- a/libsgutils2/receipt Wed Jul 20 07:50:09 2022 +0100 +++ b/libsgutils2/receipt Wed Jul 20 08:07:57 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libsgutils2" -VERSION="1.45" +VERSION="1.47" CATEGORY="system-tools" SHORT_DESC="The sg_utils library." MAINTAINER="pankso@slitaz.org" @@ -13,7 +13,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* } diff -r 82befb1c4c20 -r 7fb83ac61334 sg3_utils-dev/receipt --- a/sg3_utils-dev/receipt Wed Jul 20 07:50:09 2022 +0100 +++ b/sg3_utils-dev/receipt Wed Jul 20 08:07:57 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="sg3_utils-dev" -VERSION="1.45" +VERSION="1.47" CATEGORY="development" SHORT_DESC="The sg_utils development files." MAINTAINER="pankso@slitaz.org" @@ -13,8 +13,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_folders include + cook_copy_files *.*a } diff -r 82befb1c4c20 -r 7fb83ac61334 sg3_utils/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sg3_utils/description.txt Wed Jul 20 08:07:57 2022 +0100 @@ -0,0 +1,6 @@ +The sg3_utils package contains utilities that send SCSI commands to devices. +As well as devices on transports traditionally associated with SCSI +(e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI +Parallel Interface(SPI)) many other devices use SCSI command sets. +ATAPI optical drives and SATA disks that connect via a translation layer +or a bridge device are examples of devices that use SCSI command sets. diff -r 82befb1c4c20 -r 7fb83ac61334 sg3_utils/receipt --- a/sg3_utils/receipt Wed Jul 20 07:50:09 2022 +0100 +++ b/sg3_utils/receipt Wed Jul 20 08:07:57 2022 +0100 @@ -1,19 +1,21 @@ # SliTaz package receipt. PACKAGE="sg3_utils" -VERSION="1.45" +VERSION="1.47" CATEGORY="system-tools" SHORT_DESC="Low level utilities for devices that use a SCSI command set." MAINTAINER="pankso@slitaz.org" LICENSE="GPL BSD" -WEB_SITE="http://sg.danny.cz/sg/" +WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html" TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="${WEB_SITE}p/$TARBALL" +WGET_URL="https://sg.danny.cz/sg/p/$TARBALL" DEPENDS="libsgutils2" BUILD_DEPENDS="" +# @maintainer: Please update also libsgutils2 + # What is the latest version available today? current_version() { @@ -24,8 +26,9 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - $CONFIGURE_ARGS && + export LDFLAGS="$LDFLAGS -lrt" + + ./configure $CONFIGURE_ARGS && make && make install } @@ -33,9 +36,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/bin $fs/usr - [ -x "/usr/bin/cook" ] && - cook libsgutils2 + cook_copy_folders bin }