commit | author | age
|
9616e9
|
1 |
# |
MT |
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. |
|
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 |
|
7a2d9c
|
17 |
COMPONENT_NAME= cpp |
D |
18 |
COMPONENT_VERSION= 0.5.11 |
|
19 |
COMPONENT_REVISION= 2 |
|
20 |
COMPONENT_SRC= $(COMPONENT_NAME) |
|
21 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
9616e9
|
22 |
|
7a2d9c
|
23 |
COMPONENT_FMRI= developer/macro/cpp |
D |
24 |
COMPONENT_SUMMARY= Solaris cpp |
|
25 |
COMPONENT_CLASSIFICATION=Development/C |
|
26 |
COMPONENT_LICENSE_FILE= SUNWcpp.copyright |
|
27 |
COMPONENT_LICENSE= SUNWcpp.copyright |
9616e9
|
28 |
|
7a2d9c
|
29 |
$(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE): |
D |
30 |
$(IPS2TGZ) $(COMPONENT_SRC) $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE) https://pkg.openindiana.org/legacy \ |
9616e9
|
31 |
developer/macro/cpp@0.5.11,5.11-0.134:20100302T014816Z |
MT |
32 |
|
7a2d9c
|
33 |
include $(WS_MAKE_RULES)/prep.mk |
D |
34 |
include $(WS_MAKE_RULES)/ips.mk |
9616e9
|
35 |
|
MT |
36 |
build: prep |
|
37 |
|
|
38 |
install: build |
|
39 |
@$(MKDIR) $(PROTO_DIR) |
|
40 |
@$(CP) -RP $(COMPONENT_SRC)/$(MACH)/* $(PROTO_DIR) || true |
|
41 |
|
|
42 |
clean:: |
|
43 |
$(RM) -r $(SOURCE_DIR) $(BUILD_DIR) |
|
44 |
|
|
45 |
# Auto-generated dependencies |
|
46 |
REQUIRED_PACKAGES += system/library |