1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
4 ###############################################################################
6 ###############################################################################
8 ###############################################################################
12 SUMMARY = Tool to load and stress a computer
16 THISAPP = stress-$(VER)
17 DL_FILE = $(THISAPP).tar.gz
18 DL_FROM = $(URL_IPFIRE)
19 DIR_APP = $(DIR_SRC)/$(THISAPP)
20 TARGET = $(DIR_INFO)/$(THISAPP)
28 ###############################################################################
30 ###############################################################################
34 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
36 $(DL_FILE)_MD5 = a607afa695a511765b40993a64c6e2f4
40 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
42 download :$(patsubst %,$(DIR_DL)/%,$(objects))
44 md5 : $(subst %,%_MD5,$(objects))
49 ###############################################################################
50 # Downloading, checking, md5sum
51 ###############################################################################
53 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
56 $(patsubst %,$(DIR_DL)/%,$(objects)) :
59 $(subst %,%_MD5,$(objects)) :
62 ###############################################################################
63 # Installation Details
64 ###############################################################################
66 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
68 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
69 cd $(DIR_APP) && ./configure --prefix=/usr
70 cd $(DIR_APP) && make $(MAKETUNING)
71 cd $(DIR_APP) && make install