Revert "remove tsol from xorg-server"
[unleashed-userland.git] / components / sysbench / Makefile
blob18785335ad1e8270bed4635691e5f9eb7f12ca25
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= sysbench
20 COMPONENT_VERSION= 0.4.12
21 COMPONENT_SUMMARY= Sysbench - sytem performance benchmark
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e
26 COMPONENT_ARCHIVE_URL= \
27 http://distfiles.gentoo.org/distfiles/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = https://github.com/akopytov/sysbench
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
34 COMPONENT_PREP_ACTION+= (cd $(@D) && libtoolize -c && $(ACLOCAL))
36 COMPONENT_POST_INSTALL_ACTION+= \
37 $(CP) $(COMPONENT_SRC)/doc/manual.xml $(PROTOUSRSHAREDOCDIR)/$(COMPONENT_NAME)
39 CONFIGURE_OPTIONS += --with-mysql=/usr/mariadb/5.5
40 CONFIGURE_OPTIONS += --enable-largefile
41 CONFIGURE_OPTIONS += --bindir=/usr/benchmarks/sysbench/bin
43 install: $(INSTALL_32)
45 build: $(BUILD_32)
47 install: $(INSTALL_32)