summaryrefslogtreecommitdiff
path: root/packages/lcdproc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lcdproc')
-rw-r--r--packages/lcdproc/lcdproc_0.4.5.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/lcdproc/lcdproc_0.4.5.bb b/packages/lcdproc/lcdproc_0.4.5.bb
index b5c24e9157..4bfc7609c8 100644
--- a/packages/lcdproc/lcdproc_0.4.5.bb
+++ b/packages/lcdproc/lcdproc_0.4.5.bb
@@ -1,11 +1,13 @@
-SECTION = "base"
DESCRIPTION = "LCDproc is a client/Server suite to drive all kinds of LCD (-like) devices. The client \
shipped with this package can be used to acquire various kinds of system stats."
HOMEPAGE = "http://lcdproc.org"
+LICENSE ="GPL"
PRIORITY = "optional"
-MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "utils"
+
DEPENDS = "${@((bb.data.getVar('LCDPROC_DRIVERS',d) or 'curses,text').find('curses') != -1) and 'ncurses' or ''}"
-LICENSE ="GPL"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/lcdproc/lcdproc-${PV}.tar.gz"
inherit autotools
@@ -21,9 +23,7 @@ do_install () {
install -D -m 0755 scripts/init-LCDd.debian ${D}${sysconfdir}/init.d/lcdd
# prevent lcdproc from starting if no SCREENS are set.
# will be fixed in next upstream release
- cat scripts/init-lcdproc.debian | sed -e 's/C X//' | sed -e 's/case/[ -n $SCREENS ] || exit 0
-
-case/' > ${D}${sysconfdir}/init.d/lcdproc
+ cat scripts/init-lcdproc.debian | sed -e 's/C X//' | sed -e 's/case/[ -n $SCREENS ] || exit 0\n\ncase/' > ${D}${sysconfdir}/init.d/lcdproc
chmod 0755 ${D}${sysconfdir}/init.d/lcdproc
# configuration files