rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / scientific / gdl / Makefile
blob69694a39729219dbfd583163aa8ff9ef4074f1b0
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 (c) 2017 Dariusz Sendkowski
13 # Copyright (c) 2023 Niklas Poslovski
14 # Copyright (c) 2024 Andreas Wacknitz
17 BUILD_STYLE= cmake
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= gdl
22 COMPONENT_VERSION= 1.0.6
23 COMPONENT_SUMMARY= A free/libre/open source incremental compiler compatible with IDL and to some extent with PV-WAVE.
24 COMPONENT_PROJECT_URL= https://gnudatalanguage.github.io/
25 COMPONENT_SRC= $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:b02a257d59ad608cd300471e9cac6c23b6dc75938f79eaba812e30c56aed4865
28 COMPONENT_ARCHIVE_URL= https://github.com/gnudatalanguage/$(COMPONENT_NAME)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= scientific/$(COMPONENT_NAME)
30 COMPONENT_CLASSIFICATION= Development/Suites
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 CFLAGS += $(XPG6MODE)
38 LDFLAGS += -lsocket -lnsl
40 CMAKE_OPTIONS += -DHDF=OFF
41 CMAKE_OPTIONS += -DHDF5DIR=$(USRINCLUDEDIR)/hdf5
42 CMAKE_OPTIONS += -DPYTHON=OFF
43 CMAKE_OPTIONS += -DPSLIB=OFF
44 CMAKE_OPTIONS += -DGEOTIFF=OFF
45 CMAKE_OPTIONS += -DUDUNITS2=OFF
46 CMAKE_OPTIONS += -DGRIB=OFF
47 CMAKE_OPTIONS += -DGLPK=OFF
48 CMAKE_OPTIONS += -DSHAPELIB=OFF
50 # Manually added build dependencies
51 REQUIRED_PACKAGES += library/eigen3
52 REQUIRED_PACKAGES += library/qhull
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
56 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
57 REQUIRED_PACKAGES += $(READLINE_PKG)
58 REQUIRED_PACKAGES += developer/gsl
59 REQUIRED_PACKAGES += image/graphicsmagick
60 REQUIRED_PACKAGES += image/library/libpng16
61 REQUIRED_PACKAGES += image/library/libtiff
62 REQUIRED_PACKAGES += image/plplot
63 REQUIRED_PACKAGES += library/c++/hdf5
64 REQUIRED_PACKAGES += library/expat
65 REQUIRED_PACKAGES += library/fftw-3
66 REQUIRED_PACKAGES += library/graphics/wxwidgets-3
67 REQUIRED_PACKAGES += library/netcdf-c
68 REQUIRED_PACKAGES += library/proj
69 REQUIRED_PACKAGES += library/zlib
70 REQUIRED_PACKAGES += system/library
71 REQUIRED_PACKAGES += system/library/math
72 REQUIRED_PACKAGES += x11/library/libx11