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
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 2014 Alexander Pyhalov. All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= bonnie
++
19 COMPONENT_VERSION
= 1.97.3
21 HUMAN_VERSION
= $(COMPONENT_VERSION
)
22 COMPONENT_SUMMARY
= bonnie
++ - Benchmark Harddrive utility
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:e27b386ae0dc054fa7b530aab6bdead7aea6337a864d1f982bc9ebacb320746e
27 COMPONENT_ARCHIVE_URL
= \
28 http
://www.coker.com.au
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= http
://www.coker.com.au
/bonnie
++/
31 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 # Missing files in build dir for configure without this.
36 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
40 COMPONENT_BUILD_ARGS
+= CXXFLAGS
="$(gcc_OPT) $(CXXFLAGS)"
41 COMPONENT_BUILD_ARGS
+= LDFLAGS
="$(LDFLAGS)"
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= runtime
/perl
47 REQUIRED_PACKAGES
+= system
/library
48 REQUIRED_PACKAGES
+= system
/library
/math