summaryrefslogtreecommitdiffstats
path: root/meta/classes/openmoko2.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-15 14:03:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-19 17:34:18 +0100
commitd8a3cd563040e3df35f69cbebc9b0b14e5d12695 (patch)
tree8163cd1d8bebe74079d4d59b873cdf6a2294819a /meta/classes/openmoko2.bbclass
parente6cf0ba96a2a3e23cd7a3474711ae154db8ee9c7 (diff)
downloadpoky-d8a3cd563040e3df35f69cbebc9b0b14e5d12695.tar.gz
classes: remove classes that don't belong in oe-core
These classes are not used within oe-core and really belong in an upper layer that makes use of them, if they are still useful: * mozilla.bbclass * openmoko*.bbclass * srec.bbclass * xfce.bbclass (From OE-Core rev: fa8779452de5e1a8ded92bdf4a952158fda6160a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/openmoko2.bbclass')
-rw-r--r--meta/classes/openmoko2.bbclass31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/classes/openmoko2.bbclass b/meta/classes/openmoko2.bbclass
deleted file mode 100644
index 2d9f71a5e2..0000000000
--- a/meta/classes/openmoko2.bbclass
+++ /dev/null
@@ -1,31 +0,0 @@
1inherit autotools pkgconfig
2
3HOMEPAGE = "http://www.openmoko.org"
4OPENMOKO_RELEASE ?= "OM-2007.2"
5OPENMOKO_MIRROR ?= "svn://svn.openmoko.org/trunk"
6
7def openmoko_two_get_license(d):
8 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/")
9 return "LGPL GPL".split()[section != "libs"]
10
11def openmoko_two_get_subdir(d):
12 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/")
13 if section == 'base': return ""
14 elif section == 'libs': return "libraries"
15 elif section in 'apps tools pim'.split(): return "applications"
16 elif section == "panel-plugin": return "panel-plugins"
17 elif section == "inputmethods": return "inputmethods"
18 elif section == "daemons": return "daemons"
19 elif section == "misc": return "misc"
20 else: return section
21
22LICENSE = "${@openmoko_two_get_license(d)}"
23SUBDIR = "${@openmoko_two_get_subdir(d)}"
24
25SRC_URI := "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/${SUBDIR};module=${BPN};proto=http"
26S = "${WORKDIR}/${PN}"
27
28FILES_${PN} += "${datadir}/icons"
29
30SVNREV = "r${SRCREV}"
31#SVNREV = "${SRCDATE}"