wok-next diff sg3_utils/receipt @ rev 20557

Remove *.la files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:01:14 2018 +0300 (2018-04-07)
parents f496af4fe2bf
children 10df65db91ad
line diff
     1.1 --- a/sg3_utils/receipt	Thu Nov 02 09:14:23 2017 +0100
     1.2 +++ b/sg3_utils/receipt	Sat Apr 07 16:01:14 2018 +0300
     1.3 @@ -3,43 +3,34 @@
     1.4  PACKAGE="sg3_utils"
     1.5  VERSION="1.42"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="Low level utilities for devices that use a SCSI command set."
     1.8 +SHORT_DESC="Low level utilities for devices that use a SCSI command set"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL BSD"
    1.11 +WEB_SITE="http://sg.danny.cz/sg/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 -WEB_SITE="http://sg.danny.cz/sg/"
    1.15  WGET_URL="http://sg.danny.cz/sg/p/$TARBALL"
    1.16  
    1.17 -BUILD_DEPENDS=""
    1.18 -SPLIT="sg3_utils libsgutils2 sg3_utils-dev"
    1.19 +SPLIT="libsgutils2 sg3_utils sg3_utils-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	./configure \
    1.25 -		$CONFIGURE_ARGS &&
    1.26 -	make && make install
    1.27 +compile_rules() {
    1.28 +	./configure $CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38 -	sg3_utils)
    1.39 -		DEPENDS="libsgutils2"
    1.40 -		mkdir -p $fs/usr/lib
    1.41 -		cp -a $install/usr/bin $fs/usr
    1.42 -		;;
    1.43 -	libsgutils2)
    1.44 -		CAT="system-tools|The sg_utils library."
    1.45 -		mkdir -p $fs/usr/lib
    1.46 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 -		;;
    1.48 -	sg3_utils-dev)
    1.49 -		CAT="development|The sg_utils devel files."
    1.50 -		mkdir -p $fs/usr/lib
    1.51 -		cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.52 -		cp -a $install/usr/include $fs/usr
    1.53 -		;;
    1.54 +		libsgutils2)
    1.55 +			copy libsgutils2.so*
    1.56 +			CAT="system-tools|library"
    1.57 +			;;
    1.58 +		sg3_utils)
    1.59 +			copy @std @rm
    1.60 +			DEPENDS="libsgutils2"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			;;
    1.65  	esac
    1.66  }