summaryrefslogtreecommitdiff
path: root/packages/openmoko2/openmoko-common2_svn.bb
blob: 11738f76f1fdbd1f31c74a3627e8e871e8f0f1f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Common files for the OpenMoko distribution"
SECTION = "openmoko/base"
PV = "0.0+svn${SRCDATE}"
PR = "r1"

inherit openmoko2

SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=pixmaps;proto=http"
S = "${WORKDIR}"

dirs = "pixmaps"

do_install() {
	find ${WORKDIR} -name ".svn" | xargs rm -rf
	install -d ${D}${datadir}/openmoko/
	for i in ${dirs}; do
		cp -fpPR ${S}/$i ${D}${datadir}/openmoko/
	done
}

FILES_${PN} = "${datadir}"