[Lunar-commits] <moonbase-other> cdrtools: Configure cdrkit compatibility

Peter de Ridder peter at lunar-linux.org
Sun Oct 6 14:05:52 CEST 2013


commit b03d36d9342b61a90952c8ab54c7d6d0d120dc15
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Mon, 16 Sep 2013 14:42:33 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/b03d36d9342b61a90952c8ab54c7d6d0d120dc15

cdrtools: Configure cdrkit compatibility
---
  cd/cdrtools/BUILD     | +8/-6     
  cd/cdrtools/CONFIGURE | +2/-0     
  2 files changed, 10 insertions(+), 6 deletions(-)

--- a/cd/cdrtools/BUILD
+++ b/cd/cdrtools/BUILD
@@ -8,9 +8,11 @@ prepare_install                        &&
 $THISMAKE INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root MANDIR=man install  &&
 
 # cdrkit compatibility:
-install -m755 cdda2wav/{pitchplay,readmult} /usr/bin  &&
-ln -sf /usr/bin/mkisofs  /usr/bin/genisoimage  &&
-ln -sf /usr/bin/cdda2wav /usr/bin/icedax  &&
-ln -sf /usr/bin/readcd   /usr/bin/readom  &&
-ln -sf /usr/bin/cdrecord /usr/bin/wodim   &&
-ln -sf /usr/sbin/rscsi /usr/sbin/netscsid
+if [ "$COMPAT" != n ] ; then
+  install -m755 cdda2wav/{pitchplay,readmult} /usr/bin  &&
+  ln -sf /usr/bin/mkisofs  /usr/bin/genisoimage  &&
+  ln -sf /usr/bin/cdda2wav /usr/bin/icedax  &&
+  ln -sf /usr/bin/readcd   /usr/bin/readom  &&
+  ln -sf /usr/bin/cdrecord /usr/bin/wodim   &&
+  ln -sf /usr/sbin/rscsi /usr/sbin/netscsid
+fi
--- a/cd/cdrtools/CONFIGURE
+++ b/cd/cdrtools/CONFIGURE
@@ -1 +1,3 @@
 mquery IDE_SCSI "Will you need ide-scsi?" n
+
+mquery COMPAT   "Enable compatibility with cdrkit" y




More information about the Lunar-commits mailing list