[Lunar-commits] <moonbase> db: option for the docs and improved DEPENDS strings

Duncan Gibson engelsman at lunar-linux.org
Sun Apr 24 21:31:48 CEST 2011


commit 33cf16fcaeec66e46ca8dafb0f23286d557e1175
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sun Apr 24 21:31:48 2011 +0200

    db: option for the docs and improved DEPENDS strings
    
    docs comprise ~78MB of size if installed
    without docs I get a size of just 3888KB so without docs really make it small
---
 devel/db/BUILD     |    4 ++++
 devel/db/CONFIGURE |    1 +
 devel/db/DEPENDS   |   16 ++++++++--------
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/devel/db/BUILD b/devel/db/BUILD
index 633b0b9..968318f 100644
--- a/devel/db/BUILD
+++ b/devel/db/BUILD
@@ -1,5 +1,9 @@
 (
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s/install_utilities install_docs/install_utilities/g" dist/Makefile.in
+  fi  &&
+
   # The uudecode from uudeview module does not work.
   # It returs 0 meaning errorless execution but actually does nothing:
   # it does not decode uue encoded files. That is why configure breaks
diff --git a/devel/db/CONFIGURE b/devel/db/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/devel/db/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n
diff --git a/devel/db/DEPENDS b/devel/db/DEPENDS
index cefa1b0..a0e2307 100644
--- a/devel/db/DEPENDS
+++ b/devel/db/DEPENDS
@@ -1,9 +1,9 @@
-optional_depends  "tcl"                                \
-                  "--enable-tcl --with-tcl=/usr/lib"   \
-                  ""                                   \
-                  "to build the tcl api"
+optional_depends "tcl"                              \
+                 "--enable-tcl --with-tcl=/usr/lib" \
+                 "--disable-tcl"                    \
+                 "for the Tcl API"
 
-optional_depends  "%JAVA_SDK"                          \
-                  "--enable-java"                      \
-                  "--disable-java"                     \
-                  "for java support"
+optional_depends "%JAVA_SDK"                        \
+                 "--enable-java"                    \
+                 "--disable-java"                   \
+                 "for the Java API"


More information about the Lunar-commits mailing list