wok diff sg3_utils/receipt @ rev 24074

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 09:18:48 2021 +0000 (2021-07-08)
parents 10e6c72b2c15
children 934055de50e2
line diff
     1.1 --- a/sg3_utils/receipt	Sun Aug 11 18:44:25 2013 +0000
     1.2 +++ b/sg3_utils/receipt	Thu Jul 08 09:18:48 2021 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sg3_utils"
     1.7 -VERSION="1.29"
     1.8 +VERSION="1.45"
     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 +
    1.15  TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WEB_SITE="http://sg.danny.cz/sg/"
    1.17 -WGET_URL="http://sg.danny.cz/sg/p/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}p/$TARBALL"
    1.19  
    1.20  DEPENDS="libsgutils2"
    1.21  BUILD_DEPENDS=""
    1.22 @@ -16,16 +17,18 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	./configure \
    1.28 +	./configure		\
    1.29  		$CONFIGURE_ARGS &&
    1.30 -	make && make install
    1.31 +	make &&
    1.32 +	make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr/lib
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 -	[ -x "/usr/bin/cook" ] && cook libsgutils2
    1.41 +
    1.42 +	cp -a $install/usr/bin	$fs/usr
    1.43 +	[ -x "/usr/bin/cook" ] &&
    1.44 +	cook libsgutils2
    1.45  }