From 855e726ee6828acc815664dea2b80f4cab4dcec7 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 29 Jul 2008 16:17:11 +0000 Subject: 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(-) create mode 100644 packages/tangogps/tangogps.inc diff --git a/packages/tangogps/tangogps-fso_0.9.2.bb b/packages/tangogps/tangogps-fso_0.9.2.bb index e05b72dc29..c3f202724f 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 0000000000..a96ed8988f --- /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 f980b0bb04..66c7c9d3ef 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" -- cgit v1.2.3