summaryrefslogtreecommitdiff
path: root/recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb
blob: 910ce42d180b1439cd028752c0eed7ddaa489805 (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
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.11.0-SVN"
PR = "r0"

EXTRA_OECONF = " --with-glib-prefix=${STAGING_LIBDIR}/.. \
		--with-glib-exec-prefix=${STAGING_LIBDIR}/.. \
		--with-ncurses=${STAGING_LIBDIR}/.."
SRC_URI = " http://ssl.bulix.org/projects/lcd4linux/raw-attachment/wiki/Download/lcd4linux-0.11.0-SVN.tar.bz2 \
           file://lcd4linux.init"

S =  "${WORKDIR}/lcd4linux-0.11.0-SVN"


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] = "afbbaf37b2d27dfd41f7ba6cef0cc992"
SRC_URI[sha256sum] = "96386bc45ab7b2a6ab4ac0aaef8634a1e524399d6252e2081581af073ef3b2f8"