[Lunar-commits] <moonbase> slib: correct BUILD so gnucach can be built

Zachary McGrew zmcgrew at lunar-linux.org
Mon Feb 2 00:14:37 CET 2009


commit 4bf6e0f4b68932a4892081e69cd71767e496ae81
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Sun Feb 1 15:14:37 2009 -0800

    slib: correct BUILD so gnucach can be built
---
 libs/slib/BUILD |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/libs/slib/BUILD b/libs/slib/BUILD
index 2e9befd..1e48886 100644
--- a/libs/slib/BUILD
+++ b/libs/slib/BUILD
@@ -1,9 +1,16 @@
 (
 
-  prepare_install                     &&
-  mkdir -p /usr/share/guile/1.8/slib  &&
-  rm -fr old.libraries                &&
-  cp * /usr/share/guile/1.8/slib/     &&
+  prepare_install  &&
+
+  sedit "s:SCHEME_LIBRARY_PATH=\$(DESTDIR):SCHEME_LIBRARY_PATH=:g" \
+        Makefile  &&
+
+  make prefix=/usr/ man1dir=/usr/share/man/man1 install &&
+
+  mkdir -p /usr/share/guile/site/ &&
+  ln -sf /usr/lib/slib/* /usr/share/guile/site/ &&
+  ln -sf /usr/lib/slib /usr/share/guile/slib &&
+
   guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" "/"
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list