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

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


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

cdrkit: Configure cdrtools compatibility
---
  zbeta/cdrkit/BUILD     | +13/-8    
  zbeta/cdrkit/CONFIGURE | +1/-0     
  2 files changed, 14 insertions(+), 8 deletions(-)

--- a/zbeta/cdrkit/BUILD
+++ b/zbeta/cdrkit/BUILD
@@ -1,10 +1,15 @@
-(
+cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+-DCMAKE_BUILD_TYPE=RELEASE             \
+-Wno-dev                               \
+$OPTS                                 &&
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        -Wno-dev                               \
-        $OPTS                                 &&
+default_make  &&
 
-  default_make
-
-) > $C_FIFO 2>&1
+# cdrtools compatibility:
+if [ "$COMPAT" != n ] ; then
+  ln -sf /usr/bin/genisoimage /usr/bin/mkisofs   &&
+  ln -sf /usr/bin/icedax      /usr/bin/cdda2wav  &&
+  ln -sf /usr/bin/readom      /usr/bin/readcd    &&
+  ln -sf /usr/bin/wodim       /usr/bin/cdrecord  &&
+  ln -sf /usr/sbin/netscsid   /usr/sbin/rscsi
+fi
--- /dev/null
+++ b/zbeta/cdrkit/CONFIGURE
@@ -0,0 +1 @@
+mquery COMPAT "Enable compatibility with cdrtools" y




More information about the Lunar-commits mailing list