commit | author | age
|
2bd3a0
|
1 |
# |
DS |
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 (c) 2017 Dariusz Sendkowski |
5d939a
|
13 |
# Copyright (c) 2023 Andreas Wacknitz |
22dfa4
|
14 |
# Copyright (c) 2023 Niklas Poslovski |
2bd3a0
|
15 |
# |
5d939a
|
16 |
|
AW |
17 |
BUILD_STYLE= cmake |
2bd3a0
|
18 |
include ../../../make-rules/shared-macros.mk |
DS |
19 |
|
|
20 |
COMPONENT_NAME= gdl |
22dfa4
|
21 |
COMPONENT_VERSION= 1.0.3 |
ed3219
|
22 |
COMPONENT_REVISION= 1 |
22dfa4
|
23 |
COMPONENT_SUMMARY= A free/libre/open source incremental compiler compatible with IDL and to some extent with PV-WAVE. |
ed3219
|
24 |
COMPONENT_PROJECT_URL= https://gnudatalanguage.github.io/ |
22dfa4
|
25 |
COMPONENT_SRC= $(COMPONENT_NAME) |
NP |
26 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)-v$(COMPONENT_VERSION).tar.gz |
|
27 |
COMPONENT_ARCHIVE_HASH= sha256:db72eeb84c54dba387d5474500ce005ff1dc605b070bd00f57a552d3bb6ab16c |
|
28 |
COMPONENT_ARCHIVE_URL= https://github.com/gnudatalanguage/$(COMPONENT_NAME)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
5d939a
|
29 |
COMPONENT_FMRI= scientific/$(COMPONENT_NAME) |
AW |
30 |
COMPONENT_CLASSIFICATION= Development/Suites |
2bd3a0
|
31 |
COMPONENT_LICENSE= GPLv2 |
DS |
32 |
COMPONENT_LICENSE_FILE= COPYING |
|
33 |
|
5d939a
|
34 |
include $(WS_MAKE_RULES)/common.mk |
2bd3a0
|
35 |
|
5d939a
|
36 |
CPPFLAGS += -D_XOPEN_SOURCE=600 |
AW |
37 |
|
|
38 |
LDFLAGS += -lsocket -lnsl |
2bd3a0
|
39 |
|
DS |
40 |
CMAKE_OPTIONS += -DHDF=OFF |
|
41 |
CMAKE_OPTIONS += -DHDF5DIR=/usr/include/hdf5 |
|
42 |
CMAKE_OPTIONS += -DPYTHON=OFF |
|
43 |
CMAKE_OPTIONS += -DPSLIB=OFF |
5d939a
|
44 |
CMAKE_OPTIONS += -DGEOTIFF=OFF |
AW |
45 |
CMAKE_OPTIONS += -DUDUNITS2=OFF |
|
46 |
CMAKE_OPTIONS += -DGRIB=OFF |
|
47 |
CMAKE_OPTIONS += -DGLPK=OFF |
|
48 |
CMAKE_OPTIONS += -DSHAPELIB=OFF |
2bd3a0
|
49 |
|
5d939a
|
50 |
COMPONENT_TEST_TRANSFORMS += \ |
AW |
51 |
' -e "s/[0-9]*\.[0-9]* sec//" ' \ |
|
52 |
' -n ' \ |
|
53 |
' -e "/Passed/p" ' \ |
|
54 |
' -e "/Failed/p" ' \ |
|
55 |
' -e "/Skipped/p" ' \ |
|
56 |
' -e "/Exception/p" ' \ |
|
57 |
' -e "/passed/p" ' |
2bd3a0
|
58 |
|
dd7727
|
59 |
# Build dependencies |
AL |
60 |
REQUIRED_PACKAGES += library/eigen3 |
e60b03
|
61 |
REQUIRED_PACKAGES += library/qhull |
dd7727
|
62 |
|
AL |
63 |
# Auto-generated dependencies |
|
64 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
|
65 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
2bd3a0
|
66 |
REQUIRED_PACKAGES += developer/gsl |
DS |
67 |
REQUIRED_PACKAGES += image/graphicsmagick |
|
68 |
REQUIRED_PACKAGES += image/library/libpng16 |
5d939a
|
69 |
REQUIRED_PACKAGES += image/library/libtiff |
2bd3a0
|
70 |
REQUIRED_PACKAGES += image/plplot |
DS |
71 |
REQUIRED_PACKAGES += library/c++/hdf5 |
5d939a
|
72 |
REQUIRED_PACKAGES += library/expat |
2bd3a0
|
73 |
REQUIRED_PACKAGES += library/fftw-3 |
5d939a
|
74 |
REQUIRED_PACKAGES += library/graphics/wxwidgets-3 |
AW |
75 |
REQUIRED_PACKAGES += library/netcdf-c |
|
76 |
REQUIRED_PACKAGES += library/proj |
2bd3a0
|
77 |
REQUIRED_PACKAGES += library/readline |
DS |
78 |
REQUIRED_PACKAGES += library/zlib |
|
79 |
REQUIRED_PACKAGES += system/library |
|
80 |
REQUIRED_PACKAGES += system/library/math |
|
81 |
REQUIRED_PACKAGES += x11/library/libx11 |