From 56bd25c1cac0d0b433c3b2b5b4e075319b4aa324 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 23 May 2008 14:10:08 +0000 Subject: openmoko: merge with OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4552 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/openmoko2/openmoko-sample2_svn.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb (limited to 'meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb') 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 @@ +DESCRIPTION = "The Openmoko Sample Project" +SECTION = "openmoko/applications" +DEPENDS = "libmokoui2 intltool gconf" +PV = "0.0.1+svnr${SRCREV}" +PR = "r0" + +inherit openmoko2 + +PACKAGES += "${PN}-src" +# path should match the toolchain path +FILES_${PN}-src = "/usr/local/openmoko" +PACKAGE_ARCH_${PN}-src = "${BUILD_ARCH}-all-sdk" + +do_configure_prepend() { + install -d ${WORKDIR}/source + cp -pPR ${S} ${WORKDIR}/source/ + find ${WORKDIR}/source -name ".svn"|xargs rm -rf +} + +do_install_append() { + install -d ${D}/usr/local/openmoko/source/ + cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/ +} + -- cgit v1.2.3-54-g00ecf