summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb')
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb
new file mode 100644
index 0000000000..b944e79b45
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "The Openmoko Sample Project"
2SECTION = "openmoko/applications"
3DEPENDS = "libmokoui2 intltool gconf"
4PV = "0.0.1+svnr${SRCREV}"
5PR = "r0"
6
7inherit openmoko2
8
9PACKAGES += "${PN}-src"
10# path should match the toolchain path
11FILES_${PN}-src = "/usr/local/openmoko"
12PACKAGE_ARCH_${PN}-src = "${BUILD_ARCH}-all-sdk"
13
14do_configure_prepend() {
15 install -d ${WORKDIR}/source
16 cp -pPR ${S} ${WORKDIR}/source/
17 find ${WORKDIR}/source -name ".svn"|xargs rm -rf
18}
19
20do_install_append() {
21 install -d ${D}/usr/local/openmoko/source/
22 cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/
23}
24