Cdrtools-3.02a09

Introduction to Cdrtools

The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) CDs, DVDs, and Blu-ray discs.

This package is known to build and work properly using an LFS 12.2 platform.

Package Information

Cdrtools Dependencies

Required

alsa-lib-1.2.12

Editor Notes: https://wiki.linuxfromscratch.org/blfs/wiki/Cdrtools

Installation of Cdrtools

[Note]

Note

This package does not support parallel build.

Install Cdrtools by running the following commands:

sed -i 's|/opt/schily|/usr|g'           DEFAULTS/Defaults.linux &&
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux &&
sed -i 's|INSDIR=\s*sbin|INSDIR=bin|'   rscsi/Makefile          &&

export GMAKE_NOWARN=true &&
export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing" &&

make -j1 INS_BASE=/usr  \
         DEFINSUSR=root \
         DEFINSGRP=root \
         VERSION_OS="LinuxFromScratch"

This package does not come with a test suite.

Now, as the root user:

GMAKE_NOWARN=true &&

make INS_BASE=/usr    \
     DEFINSUSR=root   \
     DEFINSGRP=root   \
     MANSUFF_LIB=3cdr \
     install          &&

install -v -m755 -d /usr/share/doc/cdrtools-3.02a09 &&
install -v -m644 README.* READMEs/* ABOUT doc/*.ps \
                    /usr/share/doc/cdrtools-3.02a09

Command Explanations

export GMAKE_NOWARN=true: This variable avoids a warning when using GNU make.

INS_BASE=/usr: This parameter moves the install directory from /opt/schily to /usr.

DEFINSUSR=root DEFINSGRP=root: These parameters install all programs with root:root ownership instead of the default bin:bin.

MANSUFF_LIB=3cdr: This parameter prevents Cdrtools from overwriting important pages which are already installed by LFS. The installed man pages of section 3 will have a suffix 3cdr and can be shown using man 3cdr <manpage>.

Contents

Installed Programs: btcflash, cdda2mp3, cdda2ogg, cdda2wav, cdrecord, devdump, isodebug, isodump, isoinfo, isovfy, mkhybrid, mkisofs, readcd, rscsi, scgcheck, scgskeleton
Installed Libraries: libcdrdeflt.a, libdeflt.a, libedc_ecc.a, libedc_ecc_dec.a, libfile.a, libfind.a, libhfs.a, libmdigest.a, libparanoia.a, librscg.a, libscg.a, libscgcmd.a, libschily.a, libsiconv.a
Installed Directories: /usr/lib/{profiled,siconv}, /usr/include/{scg,schily}, /usr/share/doc/cdda2wav,cdrecord,libparanoia,mkisofs,rscsi}

Short Descriptions

btcflash

flashes the firmware on BTC DRW1008 DVD+/-RW recorders. Please exercise care with this program

cdda2wav

converts Compact Disc audio into WAV sound files

cdrecord

records audio or data onto Compact Discs

devdump

is a diagnostic program used to dump an ISO-9660 device or file in hex

isodebug

is used to display the command-line parameters used to create an ISO-9660 image

isodump

is a diagnostic program used to dump a device or file based on ISO-9660

isoinfo

is used to analyze or list an ISO-9660 image

isovfy

is used to verify an ISO-9660 image

mkhybrid

is a symbolic link to mkisofs used to create ISO-9660/HFS hybrid filesystem images

mkisofs

is used to create ISO-9660/JOLIET/HFS filesystem images, optionally with Rock Ridge attributes

readcd

reads or writes Compact Discs

rscsi

is a remote SCSI manager

scgcheck

is used to check and verify the Application Binary Interface of libscg

libscg.a

is a highly portable SCSI transport library