[Lunar-commits] <moonbase> gpsdrive: They have switched to camke so adjusting the BUILD. Adding a CONFIGURE
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sat Jul 3 12:26:43 CEST 2010
commit d1760f213af85c2c391cc6351959ddc15a06076c
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sat Jul 3 06:26:43 2010 -0400
gpsdrive: They have switched to camke so adjusting the BUILD. Adding a CONFIGURE
for a few things. At this point the leave the speex commented. It will eventually
be speech-tools once I sort that mess out.
---
utils/gpsdrive/BUILD | 21 +++++++++++++++------
utils/gpsdrive/CONFIGURE | 7 +++++++
utils/gpsdrive/DEPENDS | 15 +++++++++++----
utils/gpsdrive/DETAILS | 13 +++++++------
4 files changed, 40 insertions(+), 16 deletions(-)
diff --git a/utils/gpsdrive/BUILD b/utils/gpsdrive/BUILD
index ebe95a0..cc1f78a 100644
--- a/utils/gpsdrive/BUILD
+++ b/utils/gpsdrive/BUILD
@@ -1,12 +1,21 @@
(
- patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+ sedit "s:/usr/share/fonts/truetype/ttf-dejavu/:/usr/share/fonts/dejavu-ttf/:" src/gpsdrive_config.c &&
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --datadir=/usr/share \
- $OPTS &&
+ OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
+
+ mkdir $OOTB_DIR &&
+ cd $OOTB_DIR &&
- default_make
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ -DWITH_SPEECH=OFF \
+ $OPTS &&
+
+ default_make &&
+
+#This copies a minimal set of icons needed by gpsdrive
+ unpack $SOURCE2 &&
+ cp -r usr/ /
) > $C_FIFO 2>&1
diff --git a/utils/gpsdrive/CONFIGURE b/utils/gpsdrive/CONFIGURE
new file mode 100644
index 0000000..26dc5f3
--- /dev/null
+++ b/utils/gpsdrive/CONFIGURE
@@ -0,0 +1,7 @@
+mquery USE_BASEMAPS "Do you want to use Basemaps pictures?" y "-DWITH_BASEMAPS=ON" "-DWITH_BASEMAPS=OFF"
+mquery USE_NAVIGATION "Build with routing support?" y "-DWITH_NAVIGATION=ON" "-DWITH_NAVIGATION=OFF"
+mquery USE_FRIENDSD "Build with friendsd support" y "-DWITH_FRIENDSD=ON" "-DWITH_FRIENDSD=OFF"
+
+if module_installed kismet; then
+ mquery USE_KISMET "Do you want to use kismet?" y "-DWITH_KISMET=ON" "-DWITH_KISMET=OFF"
+fi
diff --git a/utils/gpsdrive/DEPENDS b/utils/gpsdrive/DEPENDS
index 9f9d060..cde3eae 100644
--- a/utils/gpsdrive/DEPENDS
+++ b/utils/gpsdrive/DEPENDS
@@ -1,5 +1,12 @@
-depends gtk+-2 &&
-depends pcre &&
+depends cmake
+depends gtk+-2
+depends pcre
+depends dejavu-ttf
-optional_depends "mysql" "--with-mysql" "--without-mysql" "for database support" &&
-optional_depends "gpsd" "" "" "connect multiple GPS devices"
+optional_depends dbus "-DWITH_DBUS=ON" "-DWITH_DBUS=OFF" "for dbus support"
+optional_depends gdal "-DWITH_GDAL=ON" "-DWITH_GDAL=OFF" "for geospatical data support"
+#optional_depends speex "-DWITH_SPEECH=ON" "-DWITH_SPEECH=OFF" "for speex support"
+optional_depends postgis "-DWITH_POSTGIS=ON" "-DWITH_POSTGIS=OFF" "for Postgis database support"
+optional_depends gpsd "-DLIBGPS_OLD=OFF" "-DLIBGPS_OLD=ON" "connect multiple GPS devices"
+optional_depends perl "-DWITH_SCRIPTS=ON" "-DWITH_SCRIPTS=OFF" "for perl scripts and modules support"
+optional_depends mapnik "-DWITH_MAPNIK=ON" "-DWITH_MAPNIK=OFF" "for mapping application support"
diff --git a/utils/gpsdrive/DETAILS b/utils/gpsdrive/DETAILS
index 89b99ea..cdfd4dc 100644
--- a/utils/gpsdrive/DETAILS
+++ b/utils/gpsdrive/DETAILS
@@ -1,16 +1,17 @@
MODULE=gpsdrive
- VERSION=2.09
+ VERSION=2.11
SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE2=$MODULE.gcc4.1.patch
+ SOURCE2=openstreetmap-map-icons-minimal.tar.gz
SOURCE_URL=http://www.gpsdrive.de/packages/
- SOURCE2_URL=$PATCH_URL
- SOURCE_VFY=sha1:cbf3db19b3b3fb496a1255ef67d7de5bdeffd70c
- SOURCE2_VFY=sha1:2700d2a737d98003ef5c1e08f9e3b29a08646f89
+ SOURCE2_URL="$SFORGE_URL/gpsdrive/additional data/minimal icon set/$SOURCE2/"
+ SOURCE_VFY=sha1:5bdb85fbb538b3c678975c896b16afc368161367
+ SOURCE2_VFY=sha1:d5315e25a9c8f7e5a6c90e21fe5f8d8d8d77d47f
WEB_SITE=http://www.gpsdrive.de/index.shtml
ENTERED=20040207
- UPDATED=20040505
+ UPDATED=20100703
MAINTAINER="ratler at lunar-linux.org"
SHORT="car (bike, ship, plane) navigation system."
+
cat << EOF
GpsDrive displays your position provided from your NMEA capable GPS
receiver on a zoomable map, the map file is autoselected depending of the
More information about the Lunar-commits
mailing list