summaryrefslogtreecommitdiff
path: root/packages/lcdproc/lcdproc_cvs.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/lcdproc/lcdproc_cvs.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/lcdproc/lcdproc_cvs.bb')
-rw-r--r--packages/lcdproc/lcdproc_cvs.bb69
1 files changed, 0 insertions, 69 deletions
diff --git a/packages/lcdproc/lcdproc_cvs.bb b/packages/lcdproc/lcdproc_cvs.bb
deleted file mode 100644
index b330f88978..0000000000
--- a/packages/lcdproc/lcdproc_cvs.bb
+++ /dev/null
@@ -1,69 +0,0 @@
-DESCRIPTION = "LCDproc is a client/Server suite to drive all kinds of LCD (-like) devices."
-DESCRIPTION_append_lcdproc = " The client shipped with this package can be used to acquire various kinds of system stats."
-DESCRIPTION_append_lcdd = " This package contains the LCDd server."
-HOMEPAGE = "http://lcdproc.org"
-LICENSE = "GPL"
-PRIORITY = "optional"
-SECTION = "utils"
-PV = "0.4.99+cvs${SRCDATE}"
-
-DEFAULT_PREFERENCE = "-1"
-
-DEPENDS = "${@((bb.data.getVar('LCDPROC_DRIVERS',d) or 'curses,text').find('curses') != -1) and 'ncurses' or ''}"
-RRECOMMENDS_lcdproc = "lcdd"
-
-SRC_URI = "cvs://anonymous@lcdproc.cvs.sourceforge.net/cvsroot/lcdproc;module=lcdproc"
-S = "${WORKDIR}/lcdproc"
-
-inherit autotools update-rc.d
-
-PACKAGES =+ "lcdd"
-
-CONFFILES_lcdd = "${sysconfdir}/LCDd.conf"
-CONFFILES_lcdproc = "${sysconfdir}/lcdproc.conf"
-
-FILES_lcdd = "${CONFFILES_lcdd} \
- ${sbindir}/LCDd \
- ${sysconfdir}/init.d/lcdd \
- ${libdir}/lcdproc/"
-FILES_lcdproc = "${CONFFILES_lcdproc} \
- ${bindir}/lcdproc \
- ${sysconfdir}/init.d/lcdproc"
-
-INITSCRIPT_PACKAGES = "lcdd lcdproc"
-INITSCRIPT_NAME_lcdd = "lcdd"
-INITSCRIPT_NAME_lcdproc = "lcdproc"
-INITSCRIPT_PARAMS_lcdd = "defaults 70 21"
-INITSCRIPT_PARAMS_lcdproc = "defaults 71 20"
-
-EXTRA_OECONF = "${@'--enable-drivers=' + (bb.data.getVar('LCDPROC_DRIVERS',d) or 'curses,text')}"
-
-do_install () {
- # binaries
- install -D -m 0755 server/LCDd ${D}${sbindir}/LCDd
- install -D -m 0755 clients/lcdproc/lcdproc ${D}${bindir}/lcdproc
-
- # init scripts
- install -d ${D}${sysconfdir}/init.d
- # so far, not fixed :-( and now even uglier :-((
- cat scripts/init-LCDd.debian | sed -e s'/--oknodo//' -e 's/ -s -f / -s 1 -f 1 /' -e 's/force-reload/force-restart/' -e 's/sleep 1/sleep 4/' > ${D}${sysconfdir}/init.d/lcdd
- chmod 0755 ${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\n\ncase/' | sed -e s'/--oknodo//' > ${D}${sysconfdir}/init.d/lcdproc
- chmod 0755 ${D}${sysconfdir}/init.d/lcdproc
-
- # configuration files
- install -D -m 0644 LCDd.conf ${D}${sysconfdir}/LCDd.conf
- # don't start lcdproc by default
- # will be fixed in next upstream release
- cat scripts/lcdproc.conf | sed -e 's/C X//' > ${D}${sysconfdir}/lcdproc.conf
- chmod 0644 ${D}${sysconfdir}/lcdproc.conf
-
- # driver library files
- install -d ${D}${libdir}/lcdproc
- for i in server/drivers/*.so; do
- install -m 0644 $i ${D}${libdir}/lcdproc/
- done
-}
-