diff options
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb')
-rw-r--r-- | meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb | 24 |
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 @@ | |||
1 | DESCRIPTION = "The Openmoko Sample Project" | ||
2 | SECTION = "openmoko/applications" | ||
3 | DEPENDS = "libmokoui2 intltool gconf" | ||
4 | PV = "0.0.1+svnr${SRCREV}" | ||
5 | PR = "r0" | ||
6 | |||
7 | inherit openmoko2 | ||
8 | |||
9 | PACKAGES += "${PN}-src" | ||
10 | # path should match the toolchain path | ||
11 | FILES_${PN}-src = "/usr/local/openmoko" | ||
12 | PACKAGE_ARCH_${PN}-src = "${BUILD_ARCH}-all-sdk" | ||
13 | |||
14 | do_configure_prepend() { | ||
15 | install -d ${WORKDIR}/source | ||
16 | cp -pPR ${S} ${WORKDIR}/source/ | ||
17 | find ${WORKDIR}/source -name ".svn"|xargs rm -rf | ||
18 | } | ||
19 | |||
20 | do_install_append() { | ||
21 | install -d ${D}/usr/local/openmoko/source/ | ||
22 | cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/ | ||
23 | } | ||
24 | |||