aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/trousers/trousers_0.3.9.bb
blob: 785e72098dae5b5c59a284483945208d3d0ece7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "An open-source TCG Software Stack (TSS) v1.1b and v1.2 TSS specifications from the TCG"
HOMEPAGE = "http://trousers.sourceforge.net/"
LICENSE = "CPL-1.0"
DEPENDS = "openssl"
PR = "r0"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}/${PV}/${P}.tar.gz file://tcsd"
SRC_URI[md5sum] = "1322030eb2540ea0640cfe471b077f32"
SRC_URI[sha256sum] = "6a7b7948403cadfb21c50edb525ef56d6b5df74ab7dd6ed9ecafc1f29a1afe5b"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3728dd9198d68b49f7f9ed1f3f50ba14"
CFLAGS += "-fno-strict-aliasing"

inherit autotools useradd update-rc.d

USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "-d /var/lib/tpm -s /bin/false -r tss"

INITSCRIPT_NAME = "tcsd"

do_install_append () {
	install -d ${D}${INIT_D_DIR}
	install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${INIT_D_DIR}/${INITSCRIPT_NAME}
}