1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
4 ###############################################################################
6 ###############################################################################
8 ###############################################################################
14 THISAPP = sysbench-$(VER)
15 DL_FILE = $(THISAPP).tar.gz
16 DL_FROM = $(URL_IPFIRE)
17 DIR_APP = $(DIR_SRC)/$(THISAPP)
18 TARGET = $(DIR_INFO)/$(THISAPP)
19 SUP_ARCH = x86_64 i586 aarch64
25 ###############################################################################
27 ###############################################################################
31 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
33 $(DL_FILE)_MD5 = 756381c6fc4e16af1e0831b5e6a3dcb3
37 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
39 download :$(patsubst %,$(DIR_DL)/%,$(objects))
41 md5 : $(subst %,%_MD5,$(objects))
46 ###############################################################################
47 # Downloading, checking, md5sum
48 ###############################################################################
50 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
53 $(patsubst %,$(DIR_DL)/%,$(objects)) :
56 $(subst %,%_MD5,$(objects)) :
59 ###############################################################################
60 # Installation Details
61 ###############################################################################
63 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
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