commit | author | age
|
617c23
|
1 |
# |
AS |
2 |
# This file and its contents are supplied under the terms of the |
a14fd0
|
3 |
# Common Development and Distribution License ("CDDL"). You may |
617c23
|
4 |
# only use this file in accordance with the terms of the CDDL. |
AS |
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2012, Andrzej Szeszo |
|
13 |
# |
|
14 |
|
|
15 |
include ../../make-rules/shared-macros.mk |
|
16 |
|
|
17 |
COMPONENT_NAME= sunstudio12u1 |
|
18 |
COMPONENT_VERSION= 12.1.1 |
|
19 |
COMPONENT_SRC= $(COMPONENT_NAME) |
|
20 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
21 |
# below is required for userland-fetch to bahave |
|
22 |
COMPONENT_ARCHIVE_URL=blah |
|
23 |
|
|
24 |
download:: |
|
25 |
$(IPS2TGZ) $(COMPONENT_SRC) http://pkg.openindiana.org/legacy \ |
|
26 |
pkg://opensolaris.org/developer/sunstudio12u1@12.1.1,5.11-0.111:20100306T002245Z |
|
27 |
|
|
28 |
include ../../make-rules/prep.mk |
|
29 |
include ../../make-rules/ips.mk |
|
30 |
|
|
31 |
$(SOURCE_DIR)/build/$(MACH)/.installed: |
|
32 |
@$(MKDIR) $(PROTO_DIR) |
|
33 |
@$(CP) -RP $(COMPONENT_SRC)/$(MACH)/* $(PROTO_DIR) |
|
34 |
@$(MKDIR) $(@D) |
|
35 |
@$(TOUCH) $@ |
|
36 |
|
|
37 |
build: prep |
|
38 |
|
|
39 |
install: build $(SOURCE_DIR)/build/$(MACH)/.installed |
|
40 |
|
|
41 |
clean:: |
|
42 |
$(RM) -r $(SOURCE_DIR) $(BUILD_DIR) |