[SM-Commit] GIT changes to master grimoire by Quentin Rameau (b432d1c9ff9984605e44b75c77f92caf3b46111e)

Quentin Rameau scm at sourcemage.org
Tue Oct 20 09:08:36 EDT 2009


GIT changes to master grimoire by Quentin Rameau <quinq at sourcemage.org>:

 audio-players/ccx2/DETAILS |   29 ++++++++++++++++++-----------
 audio-players/ccx2/HISTORY |    5 +++++
 audio-players/ccx2/PREPARE |    6 ++++++
 3 files changed, 29 insertions(+), 11 deletions(-)

New commits:
commit b432d1c9ff9984605e44b75c77f92caf3b46111e
Author: Quentin Rameau <quinq at sourcemage.org>
Commit: Quentin Rameau <quinq at sourcemage.org>

    audio-players/ccx2: added SCM version

diff --git a/audio-players/ccx2/DETAILS b/audio-players/ccx2/DETAILS
index fd1430e..68ecd81 100755
--- a/audio-players/ccx2/DETAILS
+++ b/audio-players/ccx2/DETAILS
@@ -1,14 +1,21 @@
-           SPELL="ccx2"
-         VERSION="0.2.0"
-          SOURCE="${SPELL}-${VERSION}.tar.gz"
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SOURCE%.tar.gz}"
-   SOURCE_URL[0]="http://cloud.github.com/downloads/palbo/${SPELL}/${SOURCE}"
-SOURCE_HASH[0]="sha512:a7622fddb1fcf67a8f694daacd6b88b8bf469b4ff1128e3fe57a2c9af0361cb8de88d0d77bc4404eac83c0c6726b02d449f4ac25b6dd651c4ce4fb2a54d79630"
-#  FORCE_DOWNLOAD="on"
-#   SOURCE_IGNORE="volatile"
-        WEB_SITE="http://palbo.github.com/ccx2/"
-         ENTERED="20090801"
-      LICENSE[0]="BSD"
+           SPELL=ccx2
+if [[ ${CCX2_SCM} == "y" ]]
+then
+         VERSION=scm
+          SOURCE=${SPELL}-${VERSION}.tar.bz2
+   SOURCE_URL[0]=git://github.com/palbo/${SPELL}.git:${SPELL}-${VERSION}
+  FORCE_DOWNLOAD="on"
+   SOURCE_IGNORE="volatile"
+else
+         VERSION=0.2.0
+          SOURCE=${SPELL}-${VERSION}.tar.gz
+   SOURCE_URL[0]=http://cloud.github.com/downloads/palbo/${SPELL}/${SOURCE}
+  SOURCE_HASH[0]=sha512:a7622fddb1fcf67a8f694daacd6b88b8bf469b4ff1128e3fe57a2c9af0361cb8de88d0d77bc4404eac83c0c6726b02d449f4ac25b6dd651c4ce4fb2a54d79630
+fi
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
+        WEB_SITE=http://palbo.github.com/ccx2/
+         ENTERED=20090801
+      LICENSE[0]=BSD
            SHORT="Console client for the xmms2 music player"
 cat << EOF
 Console client for the xmms2 music player
diff --git a/audio-players/ccx2/HISTORY b/audio-players/ccx2/HISTORY
index 2f87081..327020f 100644
--- a/audio-players/ccx2/HISTORY
+++ b/audio-players/ccx2/HISTORY
@@ -1,2 +1,7 @@
+2009-10-20 Quentin Rameau <quinq at sourcemage.org>
+	* PREPARE: created
+	* DETAILS: added SCM version
+
 2009-08-29 Quentin Rameau <quinq at sourcemage.org>
 	* DEPENDS, DETAILS, BUILD, INSTALL, HISTORY: spell created
+
diff --git a/audio-players/ccx2/PREPARE b/audio-players/ccx2/PREPARE
new file mode 100755
index 0000000..0690856
--- /dev/null
+++ b/audio-players/ccx2/PREPARE
@@ -0,0 +1,6 @@
+config_query CCX2_SCM "Build SCM (git) version?" y &&
+
+if [[ ${CCX2_SCM} == "y" ]]
+then
+  config_query CCX2_SCM_AUTOUPDATE "Update on every system update?" n
+fi



More information about the SM-Commit mailing list