wok-6.x rev 20676
Up cdrtools (3.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 23:10:49 2019 +0100 (2019-01-24) |
parents | 7d8f0ec43ab3 |
children | ec7ad2a55c38 |
files | cdrtools/receipt |
line diff
1.1 --- a/cdrtools/receipt Thu Jan 24 22:11:16 2019 +0100 1.2 +++ b/cdrtools/receipt Thu Jan 24 23:10:49 2019 +0100 1.3 @@ -1,32 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="cdrtools" 1.7 -VERSION="3.00" 1.8 +VERSION="3.01" 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.gz" 1.15 -WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi" 1.19 1.20 DEPENDS="" 1.21 +BUILD_DEPENDS="acl-dev libcap-dev" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - # hack makefile 1.27 - cd $src/DEFAULTS 1.28 - sed -i 's/DEFINSGRP= bin/DEFINSGRP= root/' Defaults.linux 1.29 - cd .. 1.30 sed -i 's|uname -m|echo i686|' RULES/* 1.31 - { 1.32 - ./configure 1.33 - make && make DESTDIR=$DESTDIR install 1.34 - } 2>&1 | sed 's/: No such/: no such/' 1.35 + sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \ 1.36 + DEFAULTS/Defaults.linux 1.37 + # install rscsi to /usr/bin instead of /usr/sbin 1.38 + sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile 1.39 1.40 - mkdir -p $install/usr 1.41 - mv $install/opt/schily/* $install/usr 1.42 + export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/ 1.43 + cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h 1.44 + 1.45 + make && make install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 @@ -38,4 +38,10 @@ 1.50 cp -a $install/usr/sbin $fs/usr 1.51 cp -a $install/usr/lib/siconv $fs/usr/lib 1.52 cp -a $install/usr/share/doc $fs/usr/share 1.53 + 1.54 + # cdrkit compatibility 1.55 + ln -s cdrecord $fs/usr/bin/wodim 1.56 + ln -s readcd $fs/usr/bin/readom 1.57 + ln -s mkisofs $fs/usr/bin/genisoimage 1.58 + ln -s cdda2wav $fs/usr/bin/icedax 1.59 }