commit | author | age
|
71a666
|
1 |
# |
AL |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
# Copyright (c) 2020, Aurelien Larcher. All rights reserved. |
|
22 |
# |
0fae5b
|
23 |
|
AW |
24 |
BUILD_BITS= 64 |
|
25 |
BUILD_STYLE= cmake |
71a666
|
26 |
include ../../../make-rules/shared-macros.mk |
AL |
27 |
|
|
28 |
COMPONENT_NAME= ixion |
c9532f
|
29 |
COMPONENT_VERSION= 0.19.0 |
de1c70
|
30 |
COMPONENT_REVISION= 1 |
71a666
|
31 |
COMPONENT_SUMMARY= ixion - General purpose formula parser and interpreter |
0fae5b
|
32 |
COMPONENT_PROJECT_URL= https://gitlab.com/ixion/ixion |
71a666
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
AL |
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
c9532f
|
35 |
COMPONENT_ARCHIVE_HASH= sha256:b5b67ea7fc631a0fda4fff3123f0cc2e3831849bdd8fbae8443be0766a77f243 |
0fae5b
|
36 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
AW |
37 |
COMPONENT_FMRI= library/c++/libixion |
|
38 |
COMPONENT_CLASSIFICATION=System/Libraries |
71a666
|
39 |
COMPONENT_LICENSE= MPLv2 |
0fae5b
|
40 |
COMPONENT_LICENSE_FILE= LICENSE |
71a666
|
41 |
|
AL |
42 |
include $(WS_MAKE_RULES)/common.mk |
|
43 |
|
0fae5b
|
44 |
# Note that this package depends on mdds version. |
AW |
45 |
CMAKE_OPTIONS += -DMDDS_INCLUDEDIR=$(USRINCDIR)/mdds-2.1 |
71a666
|
46 |
|
0fae5b
|
47 |
COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(BUILD_DIR_$(BITS))/src |
71a666
|
48 |
|
0fae5b
|
49 |
COMPONENT_TEST_TRANSFORMS += '-e "s/[0-9. ]*sec//g"' |
71a666
|
50 |
|
AL |
51 |
# Build dependencies |
|
52 |
REQUIRED_PACKAGES+= library/c++/mdds |
3ab44d
|
53 |
REQUIRED_PACKAGES+= library/c++/spdlog |
71a666
|
54 |
|
AL |
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 |
0fae5b
|
60 |
REQUIRED_PACKAGES += system/library/math |