lcdproc: New addon.

This commit is contained in:
Julian McConnell
2012-06-28 19:26:10 +02:00
committed by Michael Tremer
parent c3ab47cd91
commit a4908eaf70
3 changed files with 143 additions and 0 deletions

View File

View File

@@ -0,0 +1,58 @@
etc/LCDd.conf
etc/lcdexec.conf
etc/lcdproc.conf
etc/lcdvc.conf
usr/bin/fortune.pl
usr/bin/iosock.pl
usr/bin/lcdexec
usr/bin/lcdident.pl
usr/bin/lcdmetar.pl
usr/bin/lcdproc
usr/bin/lcdvc
usr/bin/tail.pl
usr/bin/x11amp.pl
usr/lib/lcdproc
#usr/lib/lcdproc/CFontz.so
#usr/lib/lcdproc/CFontz633.so
#usr/lib/lcdproc/CFontzPacket.so
#usr/lib/lcdproc/CwLnx.so
#usr/lib/lcdproc/EyeboxOne.so
#usr/lib/lcdproc/IOWarrior.so
#usr/lib/lcdproc/MD8800.so
#usr/lib/lcdproc/MtxOrb.so
#usr/lib/lcdproc/NoritakeVFD.so
#usr/lib/lcdproc/SureElec.so
#usr/lib/lcdproc/bayrad.so
#usr/lib/lcdproc/curses.so
#usr/lib/lcdproc/ea65.so
#usr/lib/lcdproc/glk.so
#usr/lib/lcdproc/hd44780.so
#usr/lib/lcdproc/icp_a106.so
#usr/lib/lcdproc/imon.so
#usr/lib/lcdproc/imonlcd.so
#usr/lib/lcdproc/irtrans.so
#usr/lib/lcdproc/joy.so
#usr/lib/lcdproc/lb216.so
#usr/lib/lcdproc/lcdm001.so
#usr/lib/lcdproc/lcterm.so
#usr/lib/lcdproc/ms6931.so
#usr/lib/lcdproc/mtc_s16209x.so
#usr/lib/lcdproc/picolcd.so
#usr/lib/lcdproc/pyramid.so
#usr/lib/lcdproc/sed1330.so
#usr/lib/lcdproc/sed1520.so
#usr/lib/lcdproc/serialPOS.so
#usr/lib/lcdproc/serialVFD.so
#usr/lib/lcdproc/shuttleVFD.so
#usr/lib/lcdproc/sli.so
#usr/lib/lcdproc/stv5730.so
#usr/lib/lcdproc/t6963.so
#usr/lib/lcdproc/text.so
#usr/lib/lcdproc/tyan.so
usr/sbin/LCDd
#usr/share/man/man1/lcdexec.1
#usr/share/man/man1/lcdproc.1
#usr/share/man/man1/lcdvc.1
#usr/share/man/man5/lcdproc-config.5
#usr/share/man/man8/LCDd.8
var/ipfire/backup/addons/includes/lcdproc

85
lfs/lcdproc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 0.5.5
THISAPP = lcdproc-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = lcdproc
PAK_VER = 1
DEPS =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = c92d4529d36eeec6d9d6fd0a4aa3ec82
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --enable-libusb --enable-drivers=all --enable-permissive-menu-goto --enable-lcdproc-menus --enable-stat-nfs --enable-stat-smbfs --with-lcdport=13666 --enable-seamless-hbars --prefix=/usr --sysconfdir=/etc
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
install -v -m 644 $(DIR_SRC)/config/backup/includes/lcdproc /var/ipfire/backup/addons/includes/lcdproc
@rm -rf $(DIR_APP)
@$(POSTBUILD)