]>
Commit | Line | Data |
---|---|---|
0d6cc79d SF |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | ############################################################################### | |
7 | # Definitions | |
8 | ############################################################################### | |
9 | ||
10 | include Config | |
11 | ||
12 | VER = 1.3.1 | |
13 | ||
14 | THISAPP = wio-$(VER) | |
15 | DIR_APP = $(DIR_SRC)/$(THISAPP) | |
16 | TARGET = $(DIR_INFO)/$(THISAPP) | |
17 | PROG = wio | |
fe6f676b | 18 | PAK_VER = 3 |
0d6cc79d SF |
19 | |
20 | ############################################################################### | |
21 | # Top-level Rules | |
22 | ############################################################################### | |
23 | ||
24 | install : $(TARGET) | |
25 | ||
26 | check : | |
27 | ||
28 | download : | |
29 | ||
30 | md5 : | |
31 | ||
32 | dist: | |
33 | @$(PAK) | |
34 | ||
35 | ############################################################################### | |
36 | # Installation Details | |
37 | ############################################################################### | |
38 | ||
39 | $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) | |
40 | @$(PREBUILD) | |
41 | @rm -rf $(DIR_APP) && mkdir $(DIR_APP) && cp -R $(DIR_SRC)/src/wio/ $(DIR_APP) | |
42 | cd $(DIR_APP) | |
43 | mkdir -p /usr/lib/wio | |
44 | mkdir -p /var/log/wio | |
45 | mkdir -p /var/log/rrd/wio | |
46 | mkdir -p /srv/web/ipfire/html/images/wio | |
47 | mkdir -p /var/ipfire/wio | |
48 | ||
49 | install -v -m 755 $(DIR_APP)/wio/wio.cgi /srv/web/ipfire/cgi-bin/ | |
50 | install -v -m 755 $(DIR_APP)/wio/wiographs.cgi /srv/web/ipfire/cgi-bin/ | |
51 | install -v -m 755 $(DIR_APP)/wio/wio /etc/fcron.minutely/ | |
52 | install -v -m 644 $(DIR_APP)/wio/main/wio.conf /var/ipfire/wio/ | |
53 | install -v -m 754 $(DIR_APP)/wio/main/wio.pl /var/ipfire/wio/ | |
54 | install -v -m 754 $(DIR_APP)/wio/main/wiovpn.pl /var/ipfire/wio/ | |
55 | install -v -m 644 $(DIR_APP)/wio/wio-lib.pl /usr/lib/wio/ | |
56 | install -v -m 644 $(DIR_APP)/wio/wio-graphs.pl /usr/lib/wio/ | |
57 | install -v -m 644 $(DIR_APP)/wio/wioips /var/log/wio/ | |
58 | install -v -m 644 $(DIR_APP)/wio/images/* /srv/web/ipfire/html/images/wio/ | |
59 | install -v -m 655 $(DIR_APP)/wio/lang/wio.de.pl /var/ipfire/addon-lang/ | |
60 | install -v -m 655 $(DIR_APP)/wio/lang/wio.en.pl /var/ipfire/addon-lang/ | |
fe6f676b | 61 | install -v -m 644 $(DIR_APP)/wio/EX-wio.menu /var/ipfire/menu.d/ |
0d6cc79d SF |
62 | install -v -m 644 $(DIR_APP)/wio/config/backup/includes/wio /var/ipfire/backup/addons/includes/wio |
63 | ||
64 | @rm -rf $(DIR_APP) | |
65 | @$(POSTBUILD) |