Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
commit | author | age
31c73b 1 #
JMC 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2019 Joyent, Inc.
14 #
15
16 include ../../../make-rules/shared-macros.mk
17
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
30
31 include $(WS_MAKE_RULES)/prep.mk
32 include $(WS_MAKE_RULES)/justmake.mk
33 include $(WS_MAKE_RULES)/ips.mk
34
35 COMPONENT_BUILD_ARGS +=    CC='$(CC)'
36
37 build:        $(BUILD_32)
38
39 install:    $(INSTALL_32)
40
41 test:        $(NO_TESTS)
42
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += system/library