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 2019 Joyent, Inc.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= mdata-client
19 COMPONENT_VERSION
= 20190228
20 COMPONENT_SUMMARY
= Cross-platform metadata client tools for use in Joyent Triton guests
(both Zones and KVM
)
21 COMPONENT_PROJECT_URL
= https
://github.com
/joyent
/mdata-client
22 COMPONENT_FMRI
= system
/virtualization
/mdata-client
23 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-release-
$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/joyent
/mdata-client
/archive
/release-
$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:1165ddb2c81139320e184577889ce3548416aef4835e26ad39d8e0f2d9f28135
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
31 include $(WS_MAKE_RULES
)/prep.mk
32 include $(WS_MAKE_RULES
)/justmake.mk
33 include $(WS_MAKE_RULES
)/ips.mk
35 COMPONENT_BUILD_ARGS
+= CC
='$(CC)'
39 install: $(INSTALL_32
)
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= system
/library