wok diff 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 (7 weeks ago)
parents 934055de50e2
children
line diff
     1.1 --- a/sg3_utils/receipt	Wed Feb 16 21:07:01 2022 +0000
     1.2 +++ b/sg3_utils/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sg3_utils"
     1.7 -VERSION="1.45"
     1.8 +VERSION="1.47"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Low level utilities for devices that use a SCSI command set."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL BSD"
    1.13 -WEB_SITE="http://sg.danny.cz/sg/"
    1.14 +WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 -WGET_URL="${WEB_SITE}p/$TARBALL"
    1.18 +WGET_URL="https://sg.danny.cz/sg/p/$TARBALL"
    1.19  
    1.20  DEPENDS="libsgutils2"
    1.21  BUILD_DEPENDS=""
    1.22  
    1.23 +# @maintainer:	Please update also libsgutils2
    1.24 +
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27  {
    1.28 @@ -24,8 +26,9 @@
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure		\
    1.33 -		$CONFIGURE_ARGS &&
    1.34 +	export	LDFLAGS="$LDFLAGS -lrt"
    1.35 +
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37  	make &&
    1.38  	make install
    1.39  }
    1.40 @@ -33,9 +36,5 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/lib
    1.45 -
    1.46 -	cp -a $install/usr/bin	$fs/usr
    1.47 -	[ -x "/usr/bin/cook" ] &&
    1.48 -	cook libsgutils2
    1.49 +	cook_copy_folders	bin
    1.50  }