[Lunar-commits] <moonbase> libical: Some clean up in the BUILD and the addition to choose types of bindings.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Sep 5 14:36:04 CEST 2010


commit 7382b8314969500c4dfda4d2faee49ff51ec6237
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Sep 5 08:36:04 2010 -0400

    libical: Some clean up in the BUILD and the addition to choose types of bindings.
---
 libs/libical/BUILD     |   11 ++---------
 libs/libical/CONFIGURE |    1 +
 libs/libical/DEPENDS   |    5 +++++
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/libs/libical/BUILD b/libs/libical/BUILD
index 3c14f0a..bd12827 100644
--- a/libs/libical/BUILD
+++ b/libs/libical/BUILD
@@ -1,14 +1,7 @@
 (
 
-# This is just easier than monkeying around with their
-# config.sub to add the needed machine types, etc.
+  ./bootstrap &&
 
-  cp /usr/share/automake/config.sub $SOURCE_DIRECTORY
-
-  default_config &&
-
-  sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC $CFLAGS:" src/{python,libical,libicalss}/Makefile
-
-  default_make
+  default_build
 
 ) > $C_FIFO 2>&1
diff --git a/libs/libical/CONFIGURE b/libs/libical/CONFIGURE
new file mode 100644
index 0000000..9694aa1
--- /dev/null
+++ b/libs/libical/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_CBIND "Enable C++ binding support?" y "--enable-cxx" "--disable-cxx"
diff --git a/libs/libical/DEPENDS b/libs/libical/DEPENDS
new file mode 100644
index 0000000..f66e99b
--- /dev/null
+++ b/libs/libical/DEPENDS
@@ -0,0 +1,5 @@
+optional_depends db        "--with-bdb4 --with-bdb4-dir=/usr"  \
+                           "--without-bdb4"   "for DB support"
+
+optional_depends Python    "--enable-python" "--disable-python" "for Python bindings support"
+optional_depends %JAVA_SDK "--enable-java"   "--disable-java"   "for Java bindings support"


More information about the Lunar-commits mailing list