Fix meta-bsp structure.
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-dvb-proxy / vuplus-dvb-proxy.inc
1 DESCRIPTION = "Hardware drivers for VuPlus"
2 SECTION = "base"
3 LICENSE = "CLOSED"
4
5 PROVIDES += "vuplus-dvb-proxy"
6 RPROVIDES_${PN} += "vuplus-dvb-proxy"
7
8 KV = "${VUPLUS_KERNEL_VERSION}"
9 PV = "${KV}"
10 PR = "${SRCDATE}.${SRCDATE_PR}"
11
12 SRC_URI = "http://archive.vuplus.com/download/build_support/vuplus/vuplus-dvb-proxy-${MACHINE}-${PV}-${PR}.tar.gz "
13
14 S = "${WORKDIR}"
15
16 inherit module-base
17
18 do_install() {
19         install -d ${D}/lib/modules/${KERNEL_VERSION}/extra
20         for f in *.ko; do
21                 install -m 0644 ${WORKDIR}/$f ${D}/lib/modules/${KERNEL_VERSION}/extra/$f;
22         done
23 }
24
25 pkg_postinst_${PN} () {
26         if [ -d /proc/stb ]; then
27                 depmod -a
28         fi
29         true
30 }
31
32 PACKAGE_ARCH := "${MACHINE_ARCH}"
33 FILES_${PN} = "/"