net-snmp sun mods install: make sure destdirs exist
[unleashed-userland.git] / components / developer / hwloc / Makefile
blob1a32676f572a9d87bc270b1bedfc0823b68bae4e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Aurelien Larcher
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= hwloc
18 COMPONENT_VERSION= 1.11.4
19 COMPONENT_SUMMARY= hwloc - Portable Hardware Locality
20 COMPONENT_PROJECT_URL= https://www.open-mpi.org/projects/hwloc/
21 COMPONENT_FMRI= developer/hwloc
22 COMPONENT_CLASSIFICATION=Development/High Performance Computing
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_URL= https://www.open-mpi.org/software/hwloc/v1.11/downloads/$(COMPONENT_ARCHIVE)
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:fdc59d06c1ddedb0fa41039bb84cb406f0570b6e66223c13a60077831d36e038
28 COMPONENT_LICENSE= BSD-2
29 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
31 include $(WS_MAKE_RULES)/prep.mk
32 include $(WS_MAKE_RULES)/configure.mk
33 include $(WS_MAKE_RULES)/ips.mk
35 CONFIGURE_ENV=+ENV=/usr/bin/env
37 CONFIGURE_OPTIONS+= --enable-cairo
38 CONFIGURE_OPTIONS+= --enable-cpuid
39 CONFIGURE_OPTIONS+= --enable-libxml2
40 CONFIGURE_OPTIONS+= --enable-pci
43 build: $(BUILD_32_and_64)
45 install: $(INSTALL_32_and_64)
47 test: $(TEST_32_and_64)
49 REQUIRED_PACKAGES += SUNWcs
50 REQUIRED_PACKAGES += diagnostic/scanpci
51 REQUIRED_PACKAGES += library/desktop/cairo
52 REQUIRED_PACKAGES += library/libxml2
53 REQUIRED_PACKAGES += system/library
54 REQUIRED_PACKAGES += system/library/math
55 REQUIRED_PACKAGES += x11/library/libx11