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.illumos.org/license/CDDL.
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) 2020, Aurelien Larcher. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 0.19.0
31 COMPONENT_SUMMARY
= ixion
- General purpose formula parser and interpreter
32 COMPONENT_PROJECT_URL
= https
://gitlab.com
/ixion
/ixion
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
35 COMPONENT_ARCHIVE_HASH
= sha256
:b5b67ea7fc631a0fda4fff3123f0cc2e3831849bdd8fbae8443be0766a77f243
36 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/-/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= library
/c
++/libixion
38 COMPONENT_CLASSIFICATION
=System
/Libraries
39 COMPONENT_LICENSE
= MPLv2
40 COMPONENT_LICENSE_FILE
= LICENSE
42 include $(WS_MAKE_RULES
)/common.mk
44 # Note that this package depends on mdds version.
45 CMAKE_OPTIONS
+= -DMDDS_INCLUDEDIR
=$(USRINCDIR
)/mdds-2.1
47 COMPONENT_TEST_ENV
+= LD_LIBRARY_PATH
=$(BUILD_DIR_
$(BITS
))/src
49 COMPONENT_TEST_TRANSFORMS
+= '-e "s/[0-9. ]*sec//g"'
52 REQUIRED_PACKAGES
+= library
/c
++/mdds
53 REQUIRED_PACKAGES
+= library
/c
++/spdlog
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
57 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/boost
60 REQUIRED_PACKAGES
+= system
/library
/math