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 Adam Stevko
13 # Copyright 2024 Klaus Ziegler
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= illumos-closed
19 COMPONENT_VERSION
= 5.11
21 COMPONENT_SUMMARY
= illumos-closed
- illumos closed binaries
22 COMPONENT_PROJECT_URL
= https
://www.openindiana.org
/
23 COMPONENT_FMRI
= developer
/illumos-closed
24 COMPONENT_CLASSIFICATION
=Development
/System
25 COMPONENT_LICENSE
= binary
27 COMPONENT_ARCHIVE_1
= on-closed-bins-nd.
$(MACH
).
tar.bz2
28 COMPONENT_ARCHIVE_2
= on-closed-bins.
$(MACH
).
tar.bz2
29 ifeq ($(strip $(MACH
)),i386
)
30 COMPONENT_ARCHIVE_URL_1
= \
31 http
://dlc.openindiana.org
/dlc.sun.com
/osol
/on
/downloads
/20100817/$(COMPONENT_ARCHIVE_1
)
32 COMPONENT_ARCHIVE_HASH_1.i386
= \
33 sha256
:da3ca1ea24972ba6a01169265d8d38a45789ed7cc45334bfe026c108b1d2ff56
34 COMPONENT_ARCHIVE_URL_2
= \
35 http
://dlc.openindiana.org
/dlc.sun.com
/osol
/on
/downloads
/20100817/$(COMPONENT_ARCHIVE_2
)
36 COMPONENT_ARCHIVE_HASH_2.i386
= \
37 sha256
:18e82bace8481dca62586e4bdff7f6b44fc63b41443799929e4d4b2187e98535
39 COMPONENT_ARCHIVE_URL_1
= \
40 https
://dlc.openindiana.aurora-opencloud.org
/SPARC
/$(COMPONENT_ARCHIVE_1
)
41 COMPONENT_ARCHIVE_HASH_1.sparc
= \
42 sha256
:b1ac54348fcc8556c38ccdfb1a4953a04cd41243af5f8145900b76297fc72aad
43 COMPONENT_ARCHIVE_URL_2
= \
44 https
://dlc.openindiana.aurora-opencloud.org
/SPARC
/$(COMPONENT_ARCHIVE_2
)
45 COMPONENT_ARCHIVE_HASH_2.sparc
= \
46 sha256
:6dfa3569dd1ca2e6168e02b9b1e7c224ea7ae4d868955a1b5deb1927e20077c0
48 COMPONENT_ARCHIVE_HASH_1
= $(COMPONENT_ARCHIVE_HASH_1.
$(MACH
))
49 COMPONENT_ARCHIVE_HASH_2
= $(COMPONENT_ARCHIVE_HASH_2.
$(MACH
))
51 include $(WS_MAKE_RULES
)/prep.mk
52 include $(WS_MAKE_RULES
)/ips.mk
54 CLEAN_PATHS
+= $(BUILD_DIR
)
56 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/etc
/init.d
/llc2
57 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/kernel
/strmod
/$(MACH64
)/sdpib
58 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/kernel
/strmod
/sdpib
59 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/platform
/i86pc
/kernel
/cpu
/cpu_ms.GenuineIntel
.6.46
60 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/platform
/i86pc
/kernel
/cpu
/$(MACH64
)/cpu_ms.GenuineIntel
.6.46
61 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386
/usr
/xpg4
/bin
/alias
62 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/etc
/init.d
/llc2
63 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/kernel
/drv
/$(MACH64
)/sdpib
64 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/kernel
/drv
/sdpib
65 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/platform
/i86pc
/kernel
/cpu
/cpu_ms.GenuineIntel
.6.46
66 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/platform
/i86pc
/kernel
/cpu
/$(MACH64
)/cpu_ms.GenuineIntel
.6.46
67 PKG_HARDLINKS
+= opt
/onbld
/closed
/root_i386-nd
/usr
/xpg4
/bin
/alias
70 $(MKDIR
) $(BUILD_DIR_32
)
73 $(INSTALL_32
): $(BUILD_32
)
74 $(MKDIR
) $(PROTO_DIR
)/opt
/onbld
&& \
75 cd
$(PROTO_DIR
)/opt
/onbld
&& \
76 /usr
/bin
/gtar xjpf
$(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE_1
) && \
77 /usr
/bin
/gtar xjpf
$(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE_2
) && \
78 $(CP
) $(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE_1
) $(PROTO_DIR
)/opt
/onbld
/closed
&& \
79 $(CP
) $(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE_2
) $(PROTO_DIR
)/opt
/onbld
/closed
84 install: $(INSTALL_32
)