[Lunar-commits] <moonbase> gammu: Adding to moonbase. My phone (Verizon POS) is locked down hard for much of

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Aug 31 14:10:05 CEST 2010


commit 9374f1e32d26511e62e28dd0a2c1f7c0c9e0ecb4
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Aug 31 08:10:05 2010 -0400

    gammu: Adding to moonbase. My phone (Verizon POS) is locked down hard for much of
    
    anything except for using their "stuff", so not really able to test. Its frontend,
    wammu launches and will search for a phone.
---
 bluetooth/gammu/BUILD     |   25 +++++++++++++++++++++++++
 bluetooth/gammu/CONFIGURE |    2 ++
 bluetooth/gammu/DEPENDS   |    8 ++++++++
 bluetooth/gammu/DETAILS   |   14 ++++++++++++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/bluetooth/gammu/BUILD b/bluetooth/gammu/BUILD
new file mode 100644
index 0000000..f550510
--- /dev/null
+++ b/bluetooth/gammu/BUILD
@@ -0,0 +1,25 @@
+(
+
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  if in_depends $MODULE Python ; then
+    VER=`lvu version Python | cut -c 1-3` &&
+    OPTS="-DBUILD_PYTHON=/usr/bin/python$VER"
+   else
+    OPTS="-DWITH_PYTHON=OFF"
+  fi &&
+
+  mkdir $OOSB_DIR  &&
+  cd $OOSB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DCMAKE_BUILD_TYPE=RELEASE             \
+                           -DBUILD_SHARED_LIBS=ON                 \
+                           -DENABLE_PROTECTION=OFF                \
+                           -DINSTALL_LSB_INIT=OFF                 \
+                           $OPTS                                 &&
+
+  default_make
+
+
+) > $C_FIFO 2>&1
diff --git a/bluetooth/gammu/CONFIGURE b/bluetooth/gammu/CONFIGURE
new file mode 100644
index 0000000..a61d72e
--- /dev/null
+++ b/bluetooth/gammu/CONFIGURE
@@ -0,0 +1,2 @@
+mquery ENB_BACKUP "Enable Backup Support?" y "-DWITH_BACKUP=ON" "-DWITH_BACKUP=OFF"
+#mquery WITH_NOKIA "Enable Nokia phone support?" y "-DWITH_NOKIA_SUPPORT=ON" "-DWITH_NOKIA_SUPPORT=OFF"
diff --git a/bluetooth/gammu/DEPENDS b/bluetooth/gammu/DEPENDS
new file mode 100644
index 0000000..a8a2eb9
--- /dev/null
+++ b/bluetooth/gammu/DEPENDS
@@ -0,0 +1,8 @@
+depends libusb
+depends bluez
+depends libdbi
+depends cmake
+
+optional_depends Python     "" "" "for Python support"
+optional_depends mysql      ""  "" "for mysql database support"
+optional_depends postgresql ""  "" "for database support"
diff --git a/bluetooth/gammu/DETAILS b/bluetooth/gammu/DETAILS
new file mode 100644
index 0000000..60f2d9f
--- /dev/null
+++ b/bluetooth/gammu/DETAILS
@@ -0,0 +1,14 @@
+          MODULE=gammu
+         VERSION=1.28.0
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=https://sourceforge.net/projects/gammu/files/$MODULE/$VERSION/
+      SOURCE_VFY=sha1:f34dcf9e578521c7e0e97abd4ef456da316c43e8
+        WEB_SITE=http://wammu.eu/
+         ENTERED=20100931
+         UPDATED=20100831
+           SHORT="command line utility for mobile phones"
+
+cat << EOF
+Gammu is library and command line utility for mobile phones. It is
+released under GNU GPL version 2.
+EOF


More information about the Lunar-commits mailing list