cdrtools _unstable_ port information

Package: cdrtools
Version: 2.01.01
Revision: 10.4.46
Source: ftp://ftp.berlios.de/pub/cdrecord/alpha/%n-%va45.tar.bz2
Source-MD5: 46f97632c942be0669c350a2202d440d
SourceDirectory: %n-%v
Replaces: cdrtools-beta
Conflicts: cdrtools-beta
PatchScript: <<
find %b -type f \! -name "*.tar" -exec perl -p -i -e 's:/etc/default:%p/etc/default:;' {} \;
#perl -pi -e 's,cc,gcc-3.3,g' RULES/power-macintosh-darwin-cc.rul
#perl -pi -e 's,cc,gcc-3.3,g' RULES/power-macintosh-darwin-cc.rul.bak
#perl -pi -e 's,gcc,gcc-3.3,g' RULES/power-macintosh-darwin-gcc.rul
#perl -pi -e 's,gcc,gcc-3.3,g' RULES/power-macintosh-darwin-gcc.rul.bak

### More verbose for debuging
#perl -pi -e 's,\@echo.+\@\\\"\"; ,,g' RULES/power-macintosh-darwin-cc.rul
#perl -pi -e 's,\@echo.+\@\\\"\"; ,,g' RULES/power-macintosh-darwin-cc.rul.bak
#perl -pi -e 's,\@echo.+\@\\\"\"; ,,g' RULES/power-macintosh-darwin-gcc.rul
#perl -pi -e 's,\@echo.+\@\\\"\"; ,,g' RULES/power-macintosh-darwin-gcc.rul.bak
# perl -pi -e 's,defined _POSIX_PRIORITY_SCHEDULING,\(defined _POSIX_PRIORITY_SCHEDULING \&\& \!defined __APPLE__\),g' cdda2wav/cdda2wav.c
# perl -pi -e 's,defined\(_POSIX_PRIORITY_SCHEDULING\),defined\(_POSIX_PRIORITY_SCHEDULING\) \&\& \!defined\(__APPLE__\),g' cdrecord/cdrecord.c

<<
BuildDependsOnly: true
Depends: cdda2wav (>= %v-%r), cdrecord (>= %v-%r), mkisofs (>= %v-%r)
CompileScript: make
InstallScript: <<
cp README* READMEs/ || true
cd cdda2wav; make INS_BASE=%i MANDIR=share/man install
cd cdrecord; make INS_BASE=%i MANDIR=share/man install
cd mkisofs; make INS_BASE=%i MANDIR=share/man install
cd readcd; make INS_BASE=%i MANDIR=share/man install
cd mkisofs/diag; make INS_BASE=%i MANDIR=share/man install

chmod a+s %i/bin/cdrecord
mkdir -p %i/etc/default

echo '# man cdrecord for help' > %i/etc/default/cdrecord
echo '# Set the default recording device' >> %i/etc/default/cdrecord
echo '# On OS X the first burner is IOCompactDiscServices' >> %i/etc/default/cdrecord
echo '# For DVD or Combo drives, use IODVDServices' >> %i/etc/default/cdrecord
echo 'CDR_DEVICE = IOCompactDiscServices' >> %i/etc/default/cdrecord
echo '# Set the default write speed' >> %i/etc/default/cdrecord
echo '# CDR_SPEED = 48 ' >> %i/etc/default/cdrecord
echo '# Set the default fifo size (memory use)' >> %i/etc/default/cdrecord
echo 'CDR_FIFOSIZE = 32m' >> %i/etc/default/cdrecord
<<

SplitOff: <<
Package: cdrecord
Replaces: cdrtools (<= 1.11a27-1), cdrecord-beta
Conflicts: cdrtools (<= 1.11a27-1), cdrecord-beta
Files: bin/cdrecord bin/readcd share/man/man1/cdrecord.1 share/man/man1/readcd.1 etc/default/cdrecord share/doc/%n
DocFiles: AN* INSTALL READMEs/* ABOUT COPYING Changelog START PORTING COMPILE BUILD
ConfFiles: %p/etc/default/cdrecord
Description: A command line CD/DVD writing tool
DescDetail: <<
Allows you to create CDs on a CD recorder (SCSI or ATAPI).
It supports writing data, audio, mixed, multi-session, and CD+ and
DVD discs, on just about every type of CD recorder out there.
<<
<<

SplitOff2: <<
Package: cdda2wav
Replaces: cdrtools (<= 1.11a27-1), cdda2wav-beta
Conflicts: cdrtools (<= 1.11a27-1), cdda2wav-beta
Files: bin/cdda2wav share/man/man1/cdda2wav.1 share/doc/%n
DocFiles: AN* INSTALL READMEs/* ABOUT COPYING Changelog START PORTING COMPILE BUILD
Description: Creates files from audio CDs
DescDetail: <<
cdda2wav lets you digitally copy audio tracks from a CD-ROM,
avoiding the distortion that is introduced when recording via
a sound card. Data can be dumped into wav, raw, aiff, au or
aifc format sound files. Options control the recording format
(stereo/mono; 8/16 bits; sampling rate, etc).
<<
<<

SplitOff3: <<
Package: mkisofs
Replaces: cdrtools (<= 1.11a27-1), mkisofs-beta
Conflicts: cdrtools (<= 1.11a27-1), mkisofs-beta
Files: bin/mkisofs bin/mkhybrid bin/devdump bin/iso* share/man/man8/* share/doc/%n
DocFiles: AN* INSTALL READMEs/* ABOUT COPYING Changelog START PORTING COMPILE BUILD
Description: Creates ISO-9660 CD-ROM filesystem images
DescDetail: <<
mkisofs is a pre-mastering program for creating ISO-9660 CD-ROM
filesystem images, which can then be written to a CD-ROM using the
cdrecord program. mkisofs now includes support for making bootable
"El Torito" CD-ROMs, as well as CD-ROMs with support for the
Macintosh HFS filesystem (with mkhybrid).
<<
<<

Description: Various tools for mastering CD-Rs: Transition Package
DescUsage: <<
Use this package to ensure a smooth transition to the new splitoffs.
<<
License: GPL
DocFiles: COPYING
Maintainer: Chris Zubrzycki
Homepage: http://cdrecord.berlios.de/private/cdrecord.html