Difference between revisions of "Cdrtools"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-2.01.tar.bz2
+
| http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-{{Cdrtools-Version}}.tar.bz2
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-ascii-2.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-{{Cdrtools-Version}}-ascii-2.patch
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-kernel_2.6-3.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-{{Cdrtools-Version}}-kernel_2.6-3.patch
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-2.01-mkisofs_iconv-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/cdrtools/cdrtools-{{Cdrtools-Version}}-mkisofs_iconv-1.patch
 
|}
 
|}
  
Line 26: Line 26:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-ascii-2.patch &&
  patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-kernel_2.6-3.patch &&
  patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-mkisofs_iconv-1.patch &&
 
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
 
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
  
Line 34: Line 34:
  
 
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01
+
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-{{Cdrtools-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 42: Line 42:
 
Compile the package
 
Compile the package
 
:
 
:
  patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-ascii-2.patch &&
  patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-kernel_2.6-3.patch &&
  patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-mkisofs_iconv-1.patch &&
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
Line 52: Line 52:
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}"\
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01
+
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-{{Cdrtools-Version}}
  
 
=== N32 ===
 
=== N32 ===
Line 58: Line 58:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-ascii-2.patch &&
  patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-kernel_2.6-3.patch &&
  patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-mkisofs_iconv-1.patch &&
 
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
 
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
Line 69: Line 69:
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}"\
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01
+
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-{{Cdrtools-Version}}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 75: Line 75:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../cdrtools-2.01-ascii-2.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-ascii-2.patch &&
  patch -Np1 -i ../cdrtools-2.01-kernel_2.6-3.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-kernel_2.6-3.patch &&
  patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch &&
+
  patch -Np1 -i ../cdrtools-{{Cdrtools-Version}}-mkisofs_iconv-1.patch &&
 
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
 
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
 
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
 
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
Line 86: Line 86:
 
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
 
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01
+
  install -v -D -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-{{Cdrtools-Version}}

Revision as of 13:36, 17 December 2006

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.

Dependencies

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 -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 -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 -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 -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01.01a65
Retrieved from "?title=Cdrtools&oldid=5313"