]>
Commit | Line | Data |
---|---|---|
eda77718 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include Config | |
26 | ||
27 | PKG_NAME = webinterface | |
8985a698 MT |
28 | PKG_VER = ipfire |
29 | PKG_REL = 0 | |
eda77718 | 30 | |
8985a698 | 31 | THISAPP = $(PKG_NAME)-$(PKG_VER) |
eda77718 MT |
32 | DIR_APP = $(DIR_SOURCE)/web |
33 | ||
6679675b | 34 | OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) |
eda77718 MT |
35 | |
36 | MAINTAINER = | |
37 | GROUP = System/Webinterface | |
38 | EXTRA = no | |
39 | DEBUG = no | |
40 | DEPS = | |
41 | ||
42 | URL = | |
43 | LICENSE = Own | |
38513d8d | 44 | SHORT_DESC = The webinterface of IPFire. |
eda77718 MT |
45 | |
46 | define LONG_DESC | |
47 | The webinterface lets the user easily do configuration of the whole \ | |
48 | system with just a few clicks. Some say it is one of the key features \ | |
38513d8d | 49 | of IPFire. |
eda77718 MT |
50 | endef |
51 | ||
52 | ############################################################################### | |
53 | # Top-level Rules | |
54 | ############################################################################### | |
55 | ||
56 | download: | |
57 | ||
aa76efb7 MT |
58 | info: |
59 | $(DO_PKG_INFO) | |
60 | ||
6679675b | 61 | install: $(OBJECT) |
eda77718 MT |
62 | |
63 | package: | |
64 | @$(DO_PACKAGE) | |
65 | ||
66 | ############################################################################### | |
67 | # Installation Details | |
68 | ############################################################################### | |
69 | ||
6679675b | 70 | $(OBJECT): $(objects) |
eda77718 MT |
71 | @$(PREBUILD) |
72 | -mkdir -p /srv/www/$(SNAME) | |
73 | cd $(DIR_APP) && cp -av * /srv/www/$(SNAME)/ | |
74 | chown nobody.nobody -R /srv/www/$(SNAME) | |
75 | @$(POSTBUILD) |