aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dreambox/dreambox-tpmd.bb
blob: 0a10582ba773a364681724c4dbdf30173feeddef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DESCRIPTION = "Dreambox TPM Daemon"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "proprietary"
MAINTAINER = "Felix Domke <tmbinc@elitedvb.net>"
DEPENDS = "dreambox-wdog"
RDEPENDS = "dreambox-wdog"

PV = "1"
PR = "r2"

SRC_URI = "http://sources.dreamboxupdate.com/download/7020/tpmd-${MACHINE}-${PV} \
	file://tpmd"

S = "${WORKDIR}"

INHIBIT_PACKAGE_STRIP = "1"

do_install() {
	install -d ${D}/usr/bin \
                   ${D}${sysconfdir}/init.d \
                   ${D}${sysconfdir}/rcS.d

	install -m 0755 ${WORKDIR}/tpmd-${MACHINE}-${PV} ${D}/usr/bin/tpmd
	install -m 0755 ${WORKDIR}/tpmd ${D}${sysconfdir}/init.d

	ln -sf ../init.d/tpmd ${D}${sysconfdir}/rcS.d/S10tpmd
}

PACKAGE_ARCH := "${MACHINE_ARCH}"
FILES_${PN} = "/"