[SM-Commit] GIT changes to master grimoire by Andraž Levstik (52c0a112a1230ebac22fb8d75ec319cae2db5490)

Andraž Levstik scm at sourcemage.org
Wed Jun 6 15:32:18 EDT 2007


GIT changes to master grimoire by Andraž Levstik <ruskie at mages.ath.cx>:

 mobile/gnokii/DEPENDS   |   20 ++++++++++++++++----
 mobile/gnokii/DETAILS   |   17 +++++++++++++++--
 mobile/gnokii/HISTORY   |    5 +++++
 mobile/gnokii/PREPARE   |    7 +++++++
 mobile/gnokii/PRE_BUILD |    7 +++++++
 5 files changed, 50 insertions(+), 6 deletions(-)

New commits:
commit 037c37a04e08469d990f633a8b2340bcca59c23e
Author: Andraž Levstik <ruskie at mages.ath.cx>
Commit: Andraž Levstik <ruskie at mages.ath.cx>

    gnokii: version update to 0.6.16 and added cvs option

diff --git a/mobile/gnokii/DEPENDS b/mobile/gnokii/DEPENDS
index 66fe87e..24c5c43 100755
--- a/mobile/gnokii/DEPENDS
+++ b/mobile/gnokii/DEPENDS
@@ -1,4 +1,16 @@
-optional_depends  X11-LIBS                     \
-                  '--with-x'                   \
-                  '--without-x'                \
-                  'to use the X window system'
\ No newline at end of file
+optional_depends  X11-LIBS                      \
+                  '--with-x'                    \
+                  '--without-x'                 \
+                  'to use the X window system'  &&
+optional_depends  libical                       \
+                  '--enable-libical'            \
+                  '--disable-libical'           \
+                  'For iCal support'            &&
+optional_depends  libusb                        \
+                  '--enable-libusb'             \
+                  '--disable-libusb'            \
+                  'For libusb support'          &&
+optional_depends  bluez-libs                    \
+                  '--enable-bluetooth'          \
+                  '--disable-bluetooth'         \
+                  'For bluetooth support'
diff --git a/mobile/gnokii/DETAILS b/mobile/gnokii/DETAILS
index c5cb288..960ab2b 100755
--- a/mobile/gnokii/DETAILS
+++ b/mobile/gnokii/DETAILS
@@ -1,9 +1,22 @@
            SPELL=gnokii
-         VERSION=0.6.14
+if [[ "${GNOKII_SCM}" == "y" ]]; then
+if [[ "${GNOKII_SCM_AUTOUPDATE}" == "y" ]]; then
+         VERSION=$(date +%Y%m%d)
+else
+         VERSION=cvs
+fi
+          SOURCE=${SPELL}-cvs.tar.bz2
+  FORCE_DOWNLOAD=ON
+   SOURCE_URL[0]=cvs://:pserver:anonymous@cvs.sv.nongnu.org:/sources/gnokii:gnokii
+   SOURCE_IGNORE=volatile
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
+else
+         VERSION=0.6.16
           SOURCE="$SPELL-$VERSION.tar.bz2"
    SOURCE_URL[0]=http://www.$SPELL.org/download/$SPELL/$SOURCE
-     SOURCE_HASH=sha512:f563c41241d477d22546ccb791af34e22b183402693f0303d673c1614de611a60530d1733355e626e786fc7bde5bd5dc0ba6d10db450eac377d09e8bf1317c86
+     SOURCE_HASH=sha512:b85dbafba14ae9f3be2a8edeb4ab624ade95e37f93fbfcc534307e173f40edf0e9c44c12fa3bdcbe20a2101c63f59a868043169628cb194096c1fdac961e8dc5
 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/$SPELL-$VERSION"
+fi
         WEB_SITE=http://www.gnokii.org/
       LICENSE[0]=GPL
          ENTERED=20060911
diff --git a/mobile/gnokii/HISTORY b/mobile/gnokii/HISTORY
index 9c7f385..9bb9f21 100644
--- a/mobile/gnokii/HISTORY
+++ b/mobile/gnokii/HISTORY
@@ -1,2 +1,7 @@
+2007-06-06 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS: version updat to 0.6.16, added cvs option
+	* PREPARE: added for cvs option
+	* PRE_BUILD: added for cvs option
+
 2006-09-11 Anton Brondz <dinolinux at sourcemage.org>
 	* DETAILS, HISTORY, DEPENDS: created spell
diff --git a/mobile/gnokii/PREPARE b/mobile/gnokii/PREPARE
new file mode 100755
index 0000000..906cf56
--- /dev/null
+++ b/mobile/gnokii/PREPARE
@@ -0,0 +1,7 @@
+config_query GNOKII_SCM "Do you want SCM version" n &&
+if [[ "${GNOKII_SCM}" == "y" ]]
+then
+config_query GNOKII_SCM_AUTOUPDATE \
+          "Automaticaly update the spell on sorcery queue/system-update?" \
+          n
+fi
diff --git a/mobile/gnokii/PRE_BUILD b/mobile/gnokii/PRE_BUILD
new file mode 100755
index 0000000..fc88c9b
--- /dev/null
+++ b/mobile/gnokii/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+if [[ "${GNOKII_SCM}" == "y" ]]
+then
+  sedit "s:^\./configure:true:" autogen.sh  &&
+  NOCONFIGURE=1 ./autogen.sh
+fi



More information about the SM-Commit mailing list