From d31127446c9a7749921d05401f0eda97ce76ca3b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 21 Aug 2013 16:10:49 +0200 Subject: [PATCH] HTML-Template: New package. --- config/rootfiles/common/HTML-Template | 7 +++ lfs/HTML-Template | 78 +++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 86 insertions(+) create mode 100644 config/rootfiles/common/HTML-Template create mode 100644 lfs/HTML-Template diff --git a/config/rootfiles/common/HTML-Template b/config/rootfiles/common/HTML-Template new file mode 100644 index 0000000000..4b486d94e3 --- /dev/null +++ b/config/rootfiles/common/HTML-Template @@ -0,0 +1,7 @@ +usr/lib/perl5/site_perl/5.12.3/HTML/Template +usr/lib/perl5/site_perl/5.12.3/HTML/Template.pm +usr/lib/perl5/site_perl/5.12.3/HTML/Template/FAQ.pm +#usr/lib/perl5/site_perl/5.12.3/MACHINE-linux-thread-multi/auto/HTML/Template +#usr/lib/perl5/site_perl/5.12.3/MACHINE-linux-thread-multi/auto/HTML/Template/.packlist +#usr/share/man/man3/HTML::Template.3 +#usr/share/man/man3/HTML::Template::FAQ.3 diff --git a/lfs/HTML-Template b/lfs/HTML-Template new file mode 100644 index 0000000000..fb837ba526 --- /dev/null +++ b/lfs/HTML-Template @@ -0,0 +1,78 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# 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 = 2.94 + +THISAPP = HTML-Template-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 7b7683c3672d55fb922734ea1e9ba7e8 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# 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) && perl Makefile.PL + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) + diff --git a/make.sh b/make.sh index bf00b5f34a..814b14a8ba 100755 --- a/make.sh +++ b/make.sh @@ -529,6 +529,7 @@ buildipfire() { ipfiremake URI ipfiremake HTML-Tagset ipfiremake HTML-Parser + ipfiremake HTML-Template ipfiremake Compress-Zlib ipfiremake Digest ipfiremake Digest-SHA1 -- 2.39.2