2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
15 # Copyright (c) 2014, David Hoeppner. All rights reserved.
19 USE_DEFAULT_TEST_TRANSFORMS
= yes
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= datamash
23 COMPONENT_VERSION
= 1.8
25 COMPONENT_SUMMARY
= performs numeric
, textual and statistical operations on data files
26 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/datamash
/
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd
30 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
31 COMPONENT_FMRI
= text
/datamash
32 COMPONENT_CLASSIFICATION
= System
/Text Tools
33 COMPONENT_LICENSE
= GPLv3
35 include $(WS_MAKE_RULES
)/common.mk
37 # Provide location for openssl 3.1 headers/libraries
38 CFLAGS
+= -I
$(OPENSSL_INCDIR
)
39 LDFLAGS
+= -L
$(OPENSSL_LIBDIR
)
41 CONFIGURE_OPTIONS
+= --with-openssl
=yes
43 COMPONENT_TEST_ENV
+= RUN_EXPENSIVE_TESTS
=yes
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
47 REQUIRED_PACKAGES
+= system
/library
48 REQUIRED_PACKAGES
+= system
/library
/math