wok rev 15295

cdrtools: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 09:56:20 2013 +0000 (2013-09-27)
parents d59705695f3d
children f08c55f7faba
files cdrtools/receipt
line diff
     1.1 --- a/cdrtools/receipt	Fri Sep 27 09:29:34 2013 +0000
     1.2 +++ b/cdrtools/receipt	Fri Sep 27 09:56:20 2013 +0000
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Command line programs to record CD/DVD/BluRay media."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS=""
     1.8 +LICENSE="GPL2 LGPL2.1"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html"
    1.11  WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL"
    1.12  
    1.13 +DEPENDS=""
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -17,18 +19,20 @@
    1.19  	cd $src/DEFAULTS
    1.20  	sed -i 's/DEFINSGRP=	bin/DEFINSGRP=	root/' Defaults.linux
    1.21  	cd ..
    1.22 -	./configure
    1.23 -	make && make DESTDIR=$PWD/_pkg install
    1.24 +	{
    1.25 +		./configure
    1.26 +		make && make DESTDIR=$DESTDIR install
    1.27 +	} 2>&1 | sed 's/: no such/:  no such/'
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/lib $fs/usr/share
    1.34 -	cp -a $_pkg/etc $fs
    1.35 -	cp -a $_pkg/opt/schily/bin $fs/usr
    1.36 -	cp -a $_pkg/opt/schily/sbin $fs/usr
    1.37 -	cp -a $_pkg/opt/schily/lib/siconv $fs/usr/lib
    1.38 -	cp -a $_pkg/opt/schily/share/doc $fs/usr/share
    1.39 +	cp -a $install/etc $fs
    1.40 +	cp -a $install/opt/schily/bin $fs/usr
    1.41 +	cp -a $install/opt/schily/sbin $fs/usr
    1.42 +	cp -a $install/opt/schily/lib/siconv $fs/usr/lib
    1.43 +	cp -a $install/opt/schily/share/doc $fs/usr/share
    1.44  }
    1.45