Cdrtools

From CBLFS
Revision as of 14:32, 19 March 2009 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-2.01.01a65.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01.01a65-ascii-2.patch
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01.01a65-kernel_2.6-3.patch
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01.01a65-mkisofs_iconv-1.patch

Introduction to Cdrtools

The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) Compact Discs.

Project Homepage: Unknown

Dependencies

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../cdrtools-2.01.01a65-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-mkisofs_iconv-1.patch &&
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -d /usr/share/doc/cdrtools-2.01.01a65 &&
install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01.01a65

Multilib

32Bit

Compile the package

patch -Np1 -i ../cdrtools-2.01.01a65-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-mkisofs_iconv-1.patch &&
make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -d /usr/share/doc/cdrtools-2.01.01a65 &&
install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01.01a65

N32

Compile the package:

patch -Np1 -i ../cdrtools-2.01.01a65-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-mkisofs_iconv-1.patch &&
(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -d /usr/share/doc/cdrtools-2.01.01a65 &&
install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01.01a65

64Bit

Compile the package:

patch -Np1 -i ../cdrtools-2.01.01a65-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01.01a65-mkisofs_iconv-1.patch &&
(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -d /usr/share/doc/cdrtools-2.01.01a65 &&
install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01.01a65
Retrieved from "?title=Cdrtools&oldid=17362"