increase dvbapp PR
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / lcd4linux / lcd4linux_0.11.0-SVN.bb
1 DESCRIPTION = "LCD4Linux is a small program that grabs information from the kernel and some subsystems and displays it on an external liquid crystal display."
2 LICENSE = "GPLv2"
3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
4
5 DEPENDS = "virtual/libusb0 ncurses readline jpeg"
6 RDEPENDS_${PN} = "jpeg"
7
8 PV = "0.11.0-SVN"
9 PR = "r2"
10
11 EXTRA_OECONF = " --with-glib-prefix=${STAGING_LIBDIR}/.. \
12                 --with-glib-exec-prefix=${STAGING_LIBDIR}/.. \
13                 --with-ncurses=${STAGING_LIBDIR}/.."
14
15 SRC_URI = "svn://ssl.bulix.org/svn/lcd4linux/;module=trunk;proto=https;rev=1200 \
16                 file://lcd4linux.init \
17 "
18
19 S =  "${WORKDIR}/trunk"
20
21 addtask setlibtool before do_configure after do_patch
22
23 do_setlibtool (){
24         sed -i "s#LIBTOOL=libtool#LIBTOOL=\${STAGING_BINDIR_CROSS}\/\${HOST_SYS}-libtool#" ${S}/Makefile.am
25 }
26
27 INITSCRIPT_PARAMS_vuplus = "stop 10 0 6 ."
28 inherit autotools update-rc.d
29
30 INITSCRIPT_NAME = "lcd4linux"
31 CONFFILES_${PN} += "${sysconfdir}/lcd4linux.conf"
32
33 do_install_append() {
34         install -d ${D}/${sysconfdir}
35         install -m 0600 ${S}/lcd4linux.conf.sample  ${D}/${sysconfdir}/lcd4linux.conf
36         install -d ${D}/${INIT_D_DIR}
37         install -m 0755 ${WORKDIR}/lcd4linux.init ${D}/${INIT_D_DIR}/lcd4linux
38 }
39