commit | author | age
|
1195f5
|
1 |
# |
A |
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 2018 Jason Martin |
d23720
|
13 |
# Copyright 2023 Niklas Poslovski |
1195f5
|
14 |
# |
A |
15 |
|
0f083a
|
16 |
BUILD_STYLE= cmake |
1195f5
|
17 |
include ../../../make-rules/shared-macros.mk |
A |
18 |
|
|
19 |
COMPONENT_NAME= uncrustify |
d23720
|
20 |
COMPONENT_VERSION= 0.77.1 |
0f083a
|
21 |
COMPONENT_REVISION= 1 |
1195f5
|
22 |
COMPONENT_SUMMARY= source code beautifier |
d23720
|
23 |
COMPONENT_PROJECT_URL= https://uncrustify.sourceforge.net/ |
1195f5
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
A |
25 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
d23720
|
26 |
COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/$(COMPONENT_NAME)/files/uncrustify-077.1/$(COMPONENT_ARCHIVE)/download |
0f083a
|
27 |
COMPONENT_ARCHIVE_HASH= sha256:939d50c8206a5e016a09947d51bb64b8a4275d89181efc484f44d5e5c3e66666 |
AW |
28 |
COMPONENT_FMRI= developer/$(COMPONENT_NAME) |
|
29 |
COMPONENT_CLASSIFICATION=Development/Source Code Management |
8dc1cb
|
30 |
COMPONENT_LICENSE= GPLv2 |
d23720
|
31 |
COMPONENT_LICENSE_FILE= COPYING |
1195f5
|
32 |
|
8dc1cb
|
33 |
include $(WS_MAKE_RULES)/common.mk |
1195f5
|
34 |
|
0f083a
|
35 |
PATH= $(PATH.gnu) |
1195f5
|
36 |
|
A |
37 |
COMPONENT_POST_INSTALL_ACTION= $(MKDIR) -p $(PROTO_DIR)/usr/share/doc/uncrustify && \ |
|
38 |
$(CP) -r $(SOURCE_DIR)/documentation/htdocs $(PROTO_DIR)/usr/share/doc/uncrustify |
|
39 |
|
|
40 |
COMPONENT_TEST_ENV += CC=$(CC) |
|
41 |
COMPONENT_TEST_TRANSFORMS += \ |
|
42 |
'-ne "/tests passed,/p" ' |
|
43 |
|
|
44 |
# Auto-generated dependencies |
|
45 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
|
46 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
|
47 |
REQUIRED_PACKAGES += system/library |