aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/palmpre/tsmd_git.bb
blob: 389393969b7d8ee3f17f22504a46fd7bf1b5169c (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
32
33
DESCRIPTION = "Touchscreen management daemon - manages the touchscreen of the palm pre machine"
HOMEPAGE = "http://www.freesmartphone.org"
AUTHOR = "Valéry Febvre <vfebvre@easter-eggs.com>
SECTION = "base"
LICENSE = "GPL"

DEPENDS = "tslib"

PR = "r4"
PV = "1.0.0+gitr${SRCPV}"

SRCREV = "25729581e06241a5fb41b2b4f6c80e7067ae4a28"
SRC_URI = " \
 ${FREESMARTPHONE_GIT}/utilities.git;protocol=git;branch=master \
 file://tsmd \
 file://tsmd_control \
"

S = "${WORKDIR}/git/palmpre/tsmd"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools update-rc.d

INITSCRIPT_NAME = "tsmd"
INITSCRIPT_PARAMS = "defaults 10"

do_install_append() {
	install -d 0644 ${D}${sysconfdir}/init.d/
	install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/
	install -d 0644 ${D}${base_bindir}/
	install -m 0755 ${WORKDIR}/tsmd_control ${D}${exec_prefix}/bin/tsmd_control
}