]>
Commit | Line | Data |
---|---|---|
0d6cc79d | 1 | ############################################################################### |
0312f929 PM |
2 | # # |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> # | |
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 | # # | |
0d6cc79d SF |
19 | ############################################################################### |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include Config | |
26 | ||
f15707c7 RR |
27 | SUMMARY = Who Is Online? IPFire extension |
28 | ||
a25c95b3 | 29 | VER = 1.3.2 |
0d6cc79d SF |
30 | |
31 | THISAPP = wio-$(VER) | |
32 | DIR_APP = $(DIR_SRC)/$(THISAPP) | |
33 | TARGET = $(DIR_INFO)/$(THISAPP) | |
34 | PROG = wio | |
0312f929 | 35 | PAK_VER = 15 |
0d6cc79d | 36 | |
f15707c7 RR |
37 | DEPS = |
38 | ||
39 | SERVICES = | |
40 | ||
0d6cc79d SF |
41 | ############################################################################### |
42 | # Top-level Rules | |
43 | ############################################################################### | |
44 | ||
45 | install : $(TARGET) | |
46 | ||
66c36198 | 47 | check : |
0d6cc79d SF |
48 | |
49 | download : | |
50 | ||
9a7e4d85 | 51 | b2 : |
0d6cc79d | 52 | |
66c36198 | 53 | dist: |
0d6cc79d SF |
54 | @$(PAK) |
55 | ||
56 | ############################################################################### | |
57 | # Installation Details | |
58 | ############################################################################### | |
59 | ||
60 | $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) | |
61 | @$(PREBUILD) | |
62 | @rm -rf $(DIR_APP) && mkdir $(DIR_APP) && cp -R $(DIR_SRC)/src/wio/ $(DIR_APP) | |
63 | cd $(DIR_APP) | |
64 | mkdir -p /usr/lib/wio | |
65 | mkdir -p /var/log/wio | |
66 | mkdir -p /var/log/rrd/wio | |
67 | mkdir -p /srv/web/ipfire/html/images/wio | |
68 | mkdir -p /var/ipfire/wio | |
69 | ||
70 | install -v -m 755 $(DIR_APP)/wio/wio.cgi /srv/web/ipfire/cgi-bin/ | |
71 | install -v -m 755 $(DIR_APP)/wio/wiographs.cgi /srv/web/ipfire/cgi-bin/ | |
72 | install -v -m 755 $(DIR_APP)/wio/wio /etc/fcron.minutely/ | |
73 | install -v -m 644 $(DIR_APP)/wio/main/wio.conf /var/ipfire/wio/ | |
74 | install -v -m 754 $(DIR_APP)/wio/main/wio.pl /var/ipfire/wio/ | |
75 | install -v -m 754 $(DIR_APP)/wio/main/wiovpn.pl /var/ipfire/wio/ | |
76 | install -v -m 644 $(DIR_APP)/wio/wio-lib.pl /usr/lib/wio/ | |
77 | install -v -m 644 $(DIR_APP)/wio/wio-graphs.pl /usr/lib/wio/ | |
78 | install -v -m 644 $(DIR_APP)/wio/wioips /var/log/wio/ | |
79 | install -v -m 644 $(DIR_APP)/wio/images/* /srv/web/ipfire/html/images/wio/ | |
bbaa7993 MT |
80 | install -v -m 644 $(DIR_APP)/wio/lang/wio.de.pl /var/ipfire/addon-lang/ |
81 | install -v -m 644 $(DIR_APP)/wio/lang/wio.en.pl /var/ipfire/addon-lang/ | |
b9e613e4 | 82 | install -v -m 644 $(DIR_APP)/wio/lang/wio.es.pl /var/ipfire/addon-lang/ |
b64b3c11 | 83 | install -v -m 644 $(DIR_APP)/wio/lang/wio.fr.pl /var/ipfire/addon-lang/ |
bbaa7993 | 84 | install -v -m 644 $(DIR_APP)/wio/lang/wio.tr.pl /var/ipfire/addon-lang/ |
fe6f676b | 85 | install -v -m 644 $(DIR_APP)/wio/EX-wio.menu /var/ipfire/menu.d/ |
0d6cc79d SF |
86 | install -v -m 644 $(DIR_APP)/wio/config/backup/includes/wio /var/ipfire/backup/addons/includes/wio |
87 | ||
88 | @rm -rf $(DIR_APP) | |
89 | @$(POSTBUILD) |