[oe-commits] : tangogps: outfactor .inc file

OE GIT Trial gittrial at amethyst.openembedded.net
Wed Jul 30 18:51:26 UTC 2008


Module: OE.dev
Branch: master
Commit: 2d81168ab019753d3176527f286047ae61ac6277
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=2d81168ab019753d3176527f286047ae61ac6277

Author:  <mickeyl at openembedded.org>
Date:   Tue Jul 29 16:17:11 2008 +0000

tangogps: outfactor .inc file

---

 packages/tangogps/tangogps-fso_0.9.2.bb |   17 ++++++-----------
 packages/tangogps/tangogps.inc          |   10 ++++++++++
 packages/tangogps/tangogps_0.9.0.3.bb   |   12 +++---------
 3 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/packages/tangogps/tangogps-fso_0.9.2.bb b/packages/tangogps/tangogps-fso_0.9.2.bb
index e05b72d..c3f2027 100644
--- a/packages/tangogps/tangogps-fso_0.9.2.bb
+++ b/packages/tangogps/tangogps-fso_0.9.2.bb
@@ -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
index 0000000..a96ed89
--- /dev/null
+++ b/packages/tangogps/tangogps.inc
@@ -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
diff --git a/packages/tangogps/tangogps_0.9.0.3.bb b/packages/tangogps/tangogps_0.9.0.3.bb
index f980b0b..66c7c9d 100644
--- a/packages/tangogps/tangogps_0.9.0.3.bb
+++ b/packages/tangogps/tangogps_0.9.0.3.bb
@@ -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"





More information about the Openembedded-commits mailing list