4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2013 David Hoeppner. All rights reserved.
22 # Copyright (c) 2017, 2020 Andreas Wacknitz
23 # Copyright (c) 2019 Jason Martin
24 # Copyright (c) 2021 Tim Mooney. All rights reserved
27 USE_PARALLEL_BUILD
= yes
28 USE_DEFAULT_TEST_TRANSFORMS
= yes
29 include ..
/..
/..
/make-rules
/shared-macros.mk
32 COMPONENT_VERSION_MJR
= 0.56
33 COMPONENT_VERSION
= $(COMPONENT_VERSION_MJR
).17
34 COMPONENT_SUMMARY
= Vala programming language
35 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Vala
36 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
37 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
38 COMPONENT_ARCHIVE_HASH
= sha256
:26100c4e4ef0049c619275f140d97cf565883d00c7543c82bcce5a426934ed6a
39 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/vala
/$(COMPONENT_VERSION_MJR
)/$(COMPONENT_ARCHIVE
)
40 COMPONENT_FMRI
= developer
/vala
41 COMPONENT_CLASSIFICATION
= Development
/Other Languages
42 COMPONENT_LICENSE
= LGPL2.1
43 COMPONENT_LICENSE_FILE
= COPYING
45 include $(WS_MAKE_RULES
)/common.mk
48 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
50 CONFIGURE_SCRIPT
= $(@D
)/configure
52 CONFIGURE_OPTIONS
+= --disable-static
53 CONFIGURE_OPTIONS
+= --enable-shared
55 COMPONENT_TEST_ENV
+= LANG
=C
56 COMPONENT_TEST_ENV
+= CC
="$(CC)"
57 COMPONENT_TEST_ENV
+= CXX
="$(CXX)"
58 COMPONENT_TEST_ENV
+= FC
="$(FC)"
59 COMPONENT_TEST_ENV
+= CFLAGS
="$(CFLAGS)"
60 COMPONENT_TEST_ENV
+= CXXFLAGS
="$(CXXFLAGS)"
61 COMPONENT_TEST_ENV
+= FCFLAGS
="$(FCFLAGS)"
62 COMPONENT_TEST_ENV
+= LDFLAGS
="$(LDFLAGS)"
64 COMPONENT_TEST_ARGS
+= -k
-i
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES
+= image
/graphviz
68 REQUIRED_PACKAGES
+= library
/glib2
69 REQUIRED_PACKAGES
+= shell/ksh93
70 REQUIRED_PACKAGES
+= system
/library