[duo2] add web-manual.
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / webmanual / vuplus-manual.bb
1 DESCRIPTION = "vuplus web manual"
2 SECTION = "base"
3 PRIORITY = "required"
4 LICENSE = "CLOSED"
5
6 PR = "${SRC_DATE}_r0"
7 SRC_URI = "http://code.vuplus.com/download/build.fc3abf29fb03f797e78f907928125638/embedded/vuplus_manual/${MACHINE}_${SRC_DATE}.tar.gz"
8
9 INHIBIT_PACKAGE_STRIP = "1"
10 S = "${WORKDIR}/${MACHINE}"
11
12 do_compile() {
13 }
14
15 do_install() {
16         install -d ${D}/usr/local/manual
17         install -d ${D}/usr/local/manual/${IMAGE_DIR}
18         for f in *.html; do
19                 install -m 0644 ${WORKDIR}/${MACHINE}/$f ${D}/usr/local/manual/;
20         done
21
22         for f in *.jpeg; do
23                 install -m 0644 ${WORKDIR}/${MACHINE}/${IMAGE_DIR}/$f ${D}/usr/local/manual/${IMAGE_DIR}/;
24         done
25         for f in *.jpg; do
26                 install -m 0644 ${WORKDIR}/${MACHINE}/${IMAGE_DIR}/$f ${D}/usr/local/manual/${IMAGE_DIR}/;
27         done
28         for f in *.png; do
29                 install -m 0644 ${WORKDIR}/${MACHINE}/${IMAGE_DIR}/$f ${D}/usr/local/manual/${IMAGE_DIR}/;
30         done
31 }
32
33 PACKAGE_ARCH := "${MACHINE_ARCH}"
34
35 PACKAGES = "${PN}"
36 FILES_${PN} = "/"
37