summaryrefslogtreecommitdiff
path: root/recipes/lcd4linux/lcd4linux_0.10.0.bb
blob: 5c7272bd84f2b954766a78fbc8336a5ea012f9f4 (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
DESCRIPTION = "LCD4Linux is a small program that grabs information from the kernel and some subsystems and displays it on an external liquid crystal display."
LICENSE = "GPLv2"

DEPENDS = "virtual/libusb0 ncurses readline virtual/libx11"

PV = "0.10.0+0.10.1-RC2"
PR = "r4"

SRC_URI = "http://ssl.bulix.org/projects/lcd4linux/raw-attachment/wiki/Download/lcd4linux-0.10.1-RC2.tar.gz \
           file://libusb-compat.diff \ 
           file://lcd4linux.init"

S =  "${WORKDIR}/lcd4linux-0.10.1-RC2"


inherit autotools update-rc.d

INITSCRIPT_NAME = "lcd4linux"
CONFFILES_${PN} += "${sysconfdir}/lcd4linux.conf"

do_install_append() {
	install -d ${D}/${sysconfdir}
	install -m 0600 ${S}/lcd4linux.conf.sample  ${D}/${sysconfdir}/lcd4linux.conf
	install -d ${D}/${INIT_D_DIR}
	install -m 0755 ${WORKDIR}/lcd4linux.init ${D}/${INIT_D_DIR}/lcd4linux
}


SRC_URI[md5sum] = "a64c40feb74862cb4a91281bc7737f72"
SRC_URI[sha256sum] = "9e69ded08dc9a8c75f36a3c020e7aa96b90313d91b2f58add6d4dfff1f8861b0"