summaryrefslogtreecommitdiff
path: root/recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb')
-rw-r--r--recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb b/recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb
new file mode 100644
index 0000000000..01471bdfc1
--- /dev/null
+++ b/recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb
@@ -0,0 +1,29 @@
+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 = "libusb-compat 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
+}
+