gst-plugins-base1: Update to 1.22.1
[oi-userland.git] / components / developer / uncrustify / Makefile
blobe4b4f9e0458f5ad5a6b6ea6ef5ffcb30baca5a72
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 2018 Jason Martin
15 BUILD_STYLE=cmake
16 BUILD_BITS=64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= uncrustify
20 COMPONENT_VERSION= 0.67
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= source code beautifier
23 COMPONENT_PROJECT_URL= http://uncrustify.sourceforge.net/
24 COMPONENT_FMRI= developer/$(COMPONENT_NAME)
25 COMPONENT_CLASSIFICATION=Development/Source Code Management
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= \
30 sha256:54f15c8ebddef120522db21f38fac1dd3b0a285fbf60a8b71f9e333e96cf6ddc
31 COMPONENT_LICENSE= GPLv2
33 include $(WS_MAKE_RULES)/common.mk
35 PATH=$(PATH.gnu)
37 UNPACK_ARGS+=-r $(COMPONENT_SRC)
39 COMPONENT_POST_INSTALL_ACTION= $(MKDIR) -p $(PROTO_DIR)/usr/share/doc/uncrustify && \
40 $(CP) -r $(SOURCE_DIR)/documentation/htdocs $(PROTO_DIR)/usr/share/doc/uncrustify
42 COMPONENT_TEST_ENV += CC=$(CC)
43 COMPONENT_TEST_TRANSFORMS += \
44 '-ne "/tests passed,/p" '
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
48 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
49 REQUIRED_PACKAGES += system/library