tangogps: outfactor .inc file
authorMichael Lauer <mickey@vanille-media.de>
Tue, 29 Jul 2008 16:17:11 +0000 (16:17 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 29 Jul 2008 16:17:11 +0000 (16:17 +0000)
packages/tangogps/tangogps-fso_0.9.2.bb
packages/tangogps/tangogps.inc [new file with mode: 0644]
packages/tangogps/tangogps_0.9.0.3.bb

index e05b72d..c3f2027 100644 (file)
@@ -1,13 +1,8 @@
-LICENSE = "GPLv2"
-SECTION = "x11/applications"
-PRIORITY = "optional"
-DESCRIPTION = "lightweight and fast mapping application"
-DEPENDS = "curl gtk+ gconf gypsy dbus-glib"
+require tangogps.inc
 
-inherit autotools
+RDEPENDS = "frameworkd"
 
-SRC_URI = "http://www.tangogps.org/downloads/tangogps-${PV}.tar.gz\
-       file://0002-Get-GPS-data-via-the-gypsy-interface.patch;patch=1 \
-       file://0003-Try-to-request-the-GPS-resource-from-ousaged.patch;patch=1"
-
-S=${WORKDIR}/tangogps-${PV}
+SRC_URI += "\
+  file://0002-Get-GPS-data-via-the-gypsy-interface.patch;patch=1 \
+  file://0003-Try-to-request-the-GPS-resource-from-ousaged.patch;patch=1 \
+"
diff --git a/packages/tangogps/tangogps.inc b/packages/tangogps/tangogps.inc
new file mode 100644 (file)
index 0000000..a96ed89
--- /dev/null
@@ -0,0 +1,10 @@
+DESCRIPTION = "A lightweight and fast mapping application"
+LICENSE = "GPLv2"
+SECTION = "x11/applications"
+PRIORITY = "optional"
+DEPENDS = "curl gtk+ gconf gypsy"
+
+SRC_URI = "http://www.tangogps.org/downloads/tangogps-${PV}.tar.gz"
+S = "${WORKDIR}/tangogps-${PV}"
+
+inherit autotools
index f980b0b..66c7c9d 100644 (file)
@@ -1,10 +1,4 @@
-LICENSE = "GPLv2"
-SECTION = "x11/applications"
-PRIORITY = "optional"
-DESCRIPTION = "lightweight and fast mapping application"
-DEPENDS = "curl gtk+ gconf gpsd"
-RDEPENDS = "gpsd"
-
-SRC_URI = "http://www.tangogps.org/downloads/${PN}-${PV}.tar.gz"
+require tangogps.inc
 
-inherit autotools
+DEPENDS += "gpsd"
+RDEPENDS = "gpsd"