clamav: update to 1.4.2
[oi-userland.git] / components / scientific / udunits / Makefile
blobe15eea6f59f7d05976ffa844b9ce80923ddf0096
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 2017 Dariusz Sendkowski
13 # Copyright 2023 Niklas Poslovski
16 USE_DEFAULT_TEST_TRANSFORMS = yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= udunits
20 COMPONENT_VERSION= 2.2.28
21 #COMPONENT_REVISION= 1
22 COMPONENT_FMRI= library/udunits
23 COMPONENT_SUMMARY= A C-based package for the programatic handling of units of physical quantities.
24 COMPONENT_PROJECT_URL= https://www.unidata.ucar.edu/software/udunits/
25 COMPONENT_CLASSIFICATION= System/Libraries
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e
29 COMPONENT_ARCHIVE_URL= https://downloads.unidata.ucar.edu/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_LICENSE= UCAR
31 COMPONENT_LICENSE_FILE= COPYRIGHT
33 include $(WS_MAKE_RULES)/common.mk
35 CFLAGS+= -std=c99 $(CPP_XPG6MODE)
37 CONFIGURE_OPTIONS+= --disable-static
39 unexport SHELLOPTS
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += library/expat
43 REQUIRED_PACKAGES += system/library
44 REQUIRED_PACKAGES += system/library/math