wok-current rev 20680

Down cdrtools (3.00)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 16:15:58 2019 +0100 (2019-01-26)
parents 6135577f4d08
children eb3db1a07cca
files cdrtools/receipt
line diff
     1.1 --- a/cdrtools/receipt	Sat Jan 26 12:26:47 2019 +0100
     1.2 +++ b/cdrtools/receipt	Sat Jan 26 16:15:58 2019 +0100
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cdrtools"
     1.7 -VERSION="3.01"
     1.8 +VERSION="3.00"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Command line programs to record CD/DVD/BluRay media."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2 LGPL2.1"
    1.13  WEB_SITE="http://cdrtools.sourceforge.net/private/cdrecord.html"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi"
    1.18  
    1.19 @@ -18,15 +18,14 @@
    1.20  compile_rules()
    1.21  {
    1.22  	sed -i 's|uname -m|echo i686|' RULES/*
    1.23 -	sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \
    1.24 -		DEFAULTS/Defaults.linux
    1.25 -	# install rscsi to /usr/bin instead of /usr/sbin
    1.26 -	sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
    1.27 +	sed -i 's/DEFINSGRP=.*/DEFINSGRP=root/' DEFAULTS/Defaults.linux
    1.28 +	{
    1.29 +		./configure
    1.30 +		make && make DESTDIR=$DESTDIR install
    1.31 +	} 2>&1 | sed 's/: No such/:  no such/'
    1.32  
    1.33 -	export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/
    1.34 -	cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h
    1.35 -
    1.36 -	{ make && make install; } 2>&1 | sed 's/: No such/:  no such/'
    1.37 +	mkdir -p $install/usr
    1.38 +	mv $install/opt/schily/* $install/usr
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 @@ -35,12 +34,7 @@
    1.43  	mkdir -p $fs/usr/lib $fs/usr/share
    1.44  	cp -a $install/etc $fs
    1.45  	cp -a $install/usr/bin $fs/usr
    1.46 +	cp -a $install/usr/sbin $fs/usr
    1.47  	cp -a $install/usr/lib/siconv $fs/usr/lib
    1.48  	cp -a $install/usr/share/doc $fs/usr/share
    1.49 -
    1.50 -	# cdrkit compatibility
    1.51 -	ln -s cdrecord $fs/usr/bin/wodim
    1.52 -	ln -s readcd   $fs/usr/bin/readom
    1.53 -	ln -s mkisofs  $fs/usr/bin/genisoimage
    1.54 -	ln -s cdda2wav $fs/usr/bin/icedax
    1.55  }