update driver(duo4k)
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-platform-util / vuplus-platform-util.inc
1 SECTION = "base"
2 LICENSE = "CLOSED"
3 require conf/license/license-close.inc
4
5 PROVIDES += "vuplus-platform-util"
6 RPROVIDES_${PN} += "vuplus-platform-util"
7
8 PV="15.1"
9 PR="${SRCDATE}.${SRCDATE_PR}"
10
11 SRC_URI = " \
12     http://archive.vuplus.com/download/build_support/vuplus/platform-util-${MACHINE}-${PV}-${PR}.tar.gz \
13     file://${INITSCRIPT_NAME}.sysvinit \
14 "
15
16 S="${WORKDIR}/platform-util-${MACHINE}"
17
18 do_install() {
19         install -d ${D}${bindir}
20         install -m 0755 ${S}/* ${D}${bindir}
21         if [ -f ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ]; then
22                 install -d ${D}${INIT_D_DIR}
23                 install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ${D}${INIT_D_DIR}/${INITSCRIPT_NAME}
24         fi
25 }
26
27 do_package_qa() {
28 }
29
30 PACKAGE_ARCH := "${MACHINE_ARCH}"
31 FILES_${PN}="/"
32
33 inherit update-rc.d
34
35 INITSCRIPT_PARAMS = "start 65 S . stop 90 0 ."
36 INITSCRIPT_NAME = "vuplus-platform-util"
37
38 INSANE_SKIP_${PN} = "already-stripped"
39