]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - lfs/sysbench
Revert "python-six: Removal of python2 & 3 addon versions of six"
[people/pmueller/ipfire-2.x.git] / lfs / sysbench
CommitLineData
ada69e12
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
eee037b8 3# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
ada69e12
MT
4###############################################################################
5
6###############################################################################
7# Definitions
8###############################################################################
9
10include Config
11
adcc5193 12VER = 1.0.20
ada69e12
MT
13
14THISAPP = sysbench-$(VER)
15DL_FILE = $(THISAPP).tar.gz
16DL_FROM = $(URL_IPFIRE)
17DIR_APP = $(DIR_SRC)/$(THISAPP)
18TARGET = $(DIR_INFO)/$(THISAPP)
5f97b190 19SUP_ARCH = x86_64 i586 aarch64
ada69e12 20PROG = sysbench
adcc5193 21PAK_VER = 2
ada69e12 22
2dc2a278 23DEPS =
ada69e12
MT
24
25###############################################################################
26# Top-level Rules
27###############################################################################
28
29objects = $(DL_FILE)
30
31$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
32
adcc5193 33$(DL_FILE)_MD5 = 756381c6fc4e16af1e0831b5e6a3dcb3
ada69e12
MT
34
35install : $(TARGET)
36
37check : $(patsubst %,$(DIR_CHK)/%,$(objects))
38
39download :$(patsubst %,$(DIR_DL)/%,$(objects))
40
41md5 : $(subst %,%_MD5,$(objects))
42
43dist:
44 @$(PAK)
45
46###############################################################################
47# Downloading, checking, md5sum
48###############################################################################
49
50$(patsubst %,$(DIR_CHK)/%,$(objects)) :
51 @$(CHECK)
52
53$(patsubst %,$(DIR_DL)/%,$(objects)) :
54 @$(LOAD)
55
56$(subst %,%_MD5,$(objects)) :
57 @$(MD5)
58
59###############################################################################
60# Installation Details
61###############################################################################
62
63$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
64 @$(PREBUILD)
65 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
66 cd $(DIR_APP) && touch AUTHORS NEWS
67 cd $(DIR_APP) && autoreconf -vfi
68 cd $(DIR_APP) && ./configure --prefix=/usr --without-mysql
69 cd $(DIR_APP) && make $(MAKETUNING)
70 cd $(DIR_APP) && make install
71 rm -rvf /usr/share/doc/sysbench
72 @rm -rf $(DIR_APP)
73 @$(POSTBUILD)