]> git.ipfire.org Git - ipfire-2.x.git/blame - lfs/wavemon
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / lfs / wavemon
CommitLineData
7a6bb67a
EK
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
eee037b8 3# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
7a6bb67a
EK
4###############################################################################
5
6###############################################################################
7# Definitions
8###############################################################################
9
10include Config
11
12VER = 0.7.5
13
14THISAPP = wavemon-$(VER)
15DL_FILE = $(THISAPP).tar.bz2
16DL_FROM = $(URL_IPFIRE)
17DIR_APP = $(DIR_SRC)/$(THISAPP)
18TARGET = $(DIR_INFO)/$(THISAPP)
19PROG = wavemon
20PAK_VER = 1
21
22DEPS = ""
23
24###############################################################################
25# Top-level Rules
26###############################################################################
27
28objects = $(DL_FILE)
29
30$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
31
32$(DL_FILE)_MD5 = 77d4a0f099ca98cf98a915adc70694ba
33
34install : $(TARGET)
35
36check : $(patsubst %,$(DIR_CHK)/%,$(objects))
37
38download :$(patsubst %,$(DIR_DL)/%,$(objects))
39
40md5 : $(subst %,%_MD5,$(objects))
41
42dist:
43 @$(PAK)
44
45###############################################################################
46# Downloading, checking, md5sum
47###############################################################################
48
49$(patsubst %,$(DIR_CHK)/%,$(objects)) :
50 @$(CHECK)
51
52$(patsubst %,$(DIR_DL)/%,$(objects)) :
53 @$(LOAD)
54
55$(subst %,%_MD5,$(objects)) :
56 @$(MD5)
57
58###############################################################################
59# Installation Details
60###############################################################################
61
62$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
63 @$(PREBUILD)
64 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
9aeb179a 65 $(UPDATE_AUTOMAKE)
7a6bb67a
EK
66 cd $(DIR_APP) && ./configure \
67 --prefix=/usr
68
69 cd $(DIR_APP) && make $(MAKETUNING)
70 cd $(DIR_APP) && make install
71 @rm -rf $(DIR_APP)
72 @$(POSTBUILD)