From f99356520c523e101d4010be6cd3d07f4cb34cbf Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 15 Oct 2013 16:46:15 +0200 Subject: [PATCH] jquery: Add extra jquery package. Because this is easier to keep up to date. --- config/rootfiles/common/jquery | 1 + lfs/jquery | 76 ++++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 78 insertions(+) create mode 100644 config/rootfiles/common/jquery create mode 100644 lfs/jquery diff --git a/config/rootfiles/common/jquery b/config/rootfiles/common/jquery new file mode 100644 index 0000000000..cb55288929 --- /dev/null +++ b/config/rootfiles/common/jquery @@ -0,0 +1 @@ +srv/web/ipfire/html/include/jquery.js diff --git a/lfs/jquery b/lfs/jquery new file mode 100644 index 0000000000..7856ce01ef --- /dev/null +++ b/lfs/jquery @@ -0,0 +1,76 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2013 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 = 1.10.2 + +THISAPP = jquery-$(VER) +DL_FILE = $(THISAPP).min.js +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 = 628072e7212db1e8cdacb22b21752cda + +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) + + -mkdir -pv /srv/web/ipfire/html/include + install -v -m 644 $(DIR_DL)/$(DL_FILE) /srv/web/ipfire/html/include/jquery.js + + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 9619ad33b5..61308921c8 100755 --- a/make.sh +++ b/make.sh @@ -493,6 +493,7 @@ buildipfire() { ipfiremake apache2 ipfiremake php ipfiremake apache2 PASS=C + ipfiremake jquery ipfiremake arping ipfiremake beep ipfiremake dvdrtools -- 2.39.2