]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - lfs/stress
strace: Update to version 6.3
[people/pmueller/ipfire-2.x.git] / lfs / stress
CommitLineData
cc8ac763
EK
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
eee037b8 3# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
cc8ac763
EK
4###############################################################################
5
6###############################################################################
7# Definitions
8###############################################################################
9
10include Config
11
f15707c7
RR
12SUMMARY = Tool to load and stress a computer
13
6dd63f5e 14VER = 1.0.5
cc8ac763
EK
15
16THISAPP = stress-$(VER)
17DL_FILE = $(THISAPP).tar.gz
18DL_FROM = $(URL_IPFIRE)
19DIR_APP = $(DIR_SRC)/$(THISAPP)
20TARGET = $(DIR_INFO)/$(THISAPP)
21PROG = stress
6dd63f5e 22PAK_VER = 2
cc8ac763 23
2dc2a278 24DEPS =
cc8ac763 25
f15707c7
RR
26SERVICES =
27
cc8ac763
EK
28###############################################################################
29# Top-level Rules
30###############################################################################
31
32objects = $(DL_FILE)
33
34$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
35
6dd63f5e 36$(DL_FILE)_BLAKE2 = 7bc4a1d7739828ccd4b58c814e8ded42cddbd0b226bb29e916fe220835bcfa9dcdb86191bb321247aa98bd0e58791556713770bdeda5dad399aa61f2703a766c
cc8ac763
EK
37
38install : $(TARGET)
39
40check : $(patsubst %,$(DIR_CHK)/%,$(objects))
41
42download :$(patsubst %,$(DIR_DL)/%,$(objects))
43
9a7e4d85 44b2 : $(subst %,%_BLAKE2,$(objects))
cc8ac763 45
66c36198 46dist:
cc8ac763
EK
47 @$(PAK)
48
49###############################################################################
9a7e4d85 50# Downloading, checking, b2sum
cc8ac763
EK
51###############################################################################
52
53$(patsubst %,$(DIR_CHK)/%,$(objects)) :
54 @$(CHECK)
55
56$(patsubst %,$(DIR_DL)/%,$(objects)) :
57 @$(LOAD)
58
9a7e4d85
PM
59$(subst %,%_BLAKE2,$(objects)) :
60 @$(B2SUM)
cc8ac763
EK
61
62###############################################################################
63# Installation Details
64###############################################################################
65
66$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
67 @$(PREBUILD)
68 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
6dd63f5e 69 cd $(DIR_APP) && ./autogen.sh
cc8ac763
EK
70 cd $(DIR_APP) && ./configure --prefix=/usr
71 cd $(DIR_APP) && make $(MAKETUNING)
72 cd $(DIR_APP) && make install
73 @rm -rf $(DIR_APP)
74 @$(POSTBUILD)