[Lunar-commits] <moonbase> libopensync: bump to version 0.37

Dave Brown dagbrown at lunar-linux.org
Mon Nov 10 03:45:25 CET 2008


commit b21c385004af6afa709fca65da5f12adc3c824d6
Author: Dave Brown <dagbrown at lunar-linux.org>
Date:   Mon Nov 10 11:45:25 2008 +0900

    libopensync: bump to version 0.37
    
    Also, they changed their build system from scons to cmake.
---
 libs/libopensync/BUILD   |   12 ++++++------
 libs/libopensync/DEPENDS |    2 +-
 libs/libopensync/DETAILS |    9 +++++----
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/libs/libopensync/BUILD b/libs/libopensync/BUILD
index 665a6b6..2fb2806 100644
--- a/libs/libopensync/BUILD
+++ b/libs/libopensync/BUILD
@@ -1,11 +1,11 @@
 (
 
-  sedit "s:/usr/local:/usr:" build/linux/osync_build.py
+  BUILD_DIRECTORY="$SOURCE_DIRECTORY/build"
+  mkdir $BUILD_DIRECTORY &&
+  cd $BUILD_DIRECTORY &&
 
-  scons PREFIX=/usr  &&
-
-  prepare_install    &&
-
-  scons install
+  cmake $SOURCE_DIRECTORY -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+                          -DCMAKE_BUILD_TYPE=RELEASE &&
+  default_make
 
 ) > $C_FIFO 2>&1
diff --git a/libs/libopensync/DEPENDS b/libs/libopensync/DEPENDS
index 2315ae2..72ff780 100644
--- a/libs/libopensync/DEPENDS
+++ b/libs/libopensync/DEPENDS
@@ -1,4 +1,4 @@
-depends scons
+depends cmake
 
 optional_depends sqlite  ""  "" "for database support"
 optional_depends glib-2  ""  "" "for core library support"
diff --git a/libs/libopensync/DETAILS b/libs/libopensync/DETAILS
index 0cdbafd..580561f 100644
--- a/libs/libopensync/DETAILS
+++ b/libs/libopensync/DETAILS
@@ -1,11 +1,12 @@
           MODULE=libopensync
-         VERSION=0.33
+         VERSION=0.37
           SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=http://www.opensync.org/download/releases/0.33/
-      SOURCE_VFY=sha1:63d474cc1a01dba349c436ecca856efa9e93cb03
+      SOURCE_URL=http://www.opensync.org/download/releases/$VERSION/
+      SOURCE_VFY=sha1:028f16b3a4ac10e737c7ddc08ab3140fd655b9b2
+   MODULE_PREFIX=${CMAKE_BUILD_DIR:-/usr}
         WEB_SITE=http://www.opensync.org/
          ENTERED=20071029
-         UPDATED=20071029
+         UPDATED=20081108
            SHORT="synchronization framework"
 cat << EOF
 OpenSync is a synchronization framework that is platform and distribution


More information about the Lunar-commits mailing list