From a4908eaf7026bbedc9a3641f6309aa367a8e5338 Mon Sep 17 00:00:00 2001 From: Julian McConnell Date: Thu, 28 Jun 2012 19:26:10 +0200 Subject: [PATCH] lcdproc: New addon. --- config/backup/includes/lcdproc | 0 config/rootfiles/packages/lcdproc | 58 +++++++++++++++++++++ lfs/lcdproc | 85 +++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 config/backup/includes/lcdproc create mode 100644 config/rootfiles/packages/lcdproc create mode 100644 lfs/lcdproc diff --git a/config/backup/includes/lcdproc b/config/backup/includes/lcdproc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/config/rootfiles/packages/lcdproc b/config/rootfiles/packages/lcdproc new file mode 100644 index 0000000000..935a79c4df --- /dev/null +++ b/config/rootfiles/packages/lcdproc @@ -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 diff --git a/lfs/lcdproc b/lfs/lcdproc new file mode 100644 index 0000000000..01525a2b36 --- /dev/null +++ b/lfs/lcdproc @@ -0,0 +1,85 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2011 IPFire Team # +# # +# 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 . # +# # +############################################################################### + +############################################################################### +# 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) -- 2.39.5