[Lunar-commits] <moonbase-other> cdrtools: fix it with /bin/rm->/usr/bin/rm

v4hn me at v4hn.de
Sun Jun 2 01:13:35 CEST 2013


commit b4d54fb9bfc4423cc5d7c9e555ad6351600f6f16
Author: v4hn <me at v4hn.de>
Date: Sat, 01 Jun 2013 16:12:55 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/b4d54fb9bfc4423cc5d7c9e555ad6351600f6f16

cdrtools: fix it with /bin/rm->/usr/bin/rm
---
  cd/cdrtools/BUILD | +14/-23   
  1 file changed, 14 insertions(+), 23 deletions(-)

--- a/cd/cdrtools/BUILD
+++ b/cd/cdrtools/BUILD
@@ -1,26 +1,17 @@
-(
+sedit "s:/bin/rm:rm:; s:/bin/mv:mv:" RULES/rules.prg
 
-  # this will make it use its own headers
-  # not the last linned kernel headers
-  sedit "s?/usr/src/linux/include?/usr/include?g" DEFAULTS/Defaults.linux  &&
+# this will make it use its own headers
+# not the last linned kernel headers
+sedit "s?/usr/src/linux/include?/usr/include?g" DEFAULTS/Defaults.linux  &&
 
-  if module_installed smake ; then
-    THISMAKE=smake
-  else
-    THISMAKE=./Gmake.linux
-  fi                                     &&
-  $THISMAKE INS_BASE=/usr DEFINSUSR=root  \
-            DEFINSGRP=root               &&
-  prepare_install                        &&
-  $THISMAKE INS_BASE=/usr DEFINSUSR=root  \
-            DEFINSGRP=root MANDIR=man install  &&
+smake INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root &&
+prepare_install                        &&
+smake 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
-
-) > $C_FIFO 2>&1
+# 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




More information about the Lunar-commits mailing list