summaryrefslogtreecommitdiffstats
path: root/meta/classes/openmoko2.bbclass
diff options
context:
space:
mode:
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}"