Cdrtools

From CBLFS
Revision as of 08:24, 28 October 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-2.01.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-ascii-2.patch
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-kernel_2.6-3.patch
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-mkisofs_iconv-1.patch

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01-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 -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01

Multilib

32Bit

Compile the package

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01-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 -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01

N32

Compile the package:

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01-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 -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01

64Bit

Compile the package:

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
patch -Np1 -i ../cdrtools-2.01-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 -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01
Retrieved from "?title=Cdrtools&oldid=3376"