Andreas Wacknitz
2024-04-04 70151afdb9f2beee53ff6d9c03a48b195bec8650
commit | author | age
7a8bf6 1 #
AP 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 2016 Alexander Pyhalov
c52e52 13 # Copyright 2018 Michal Nowak
0df8d9 14 # Copyright 2023 Friedrich Kink
7a8bf6 15 #
c52e52 16
496494 17 USE_DEFAULT_TEST_TRANSFORMS= yes
7a8bf6 18 include ../../../make-rules/shared-macros.mk
AP 19
20 COMPONENT_NAME=        freetds
70151a 21 COMPONENT_VERSION=    1.4.12
7a8bf6 22 COMPONENT_SUMMARY=    FreeTDS command-line utilities
496494 23 COMPONENT_PROJECT_URL=    https://www.freetds.org
7a8bf6 24 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0df8d9 25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
70151a 26 COMPONENT_ARCHIVE_HASH=    sha256:9b4bb1c453b41c4f22ef9c0c09fef0f34a5cfbbcf194d2ee5a4f90137d026b36
496494 27 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/files/stable/$(COMPONENT_ARCHIVE)
7a8bf6 28 COMPONENT_FMRI=        database/freetds
496494 29 COMPONENT_CLASSIFICATION=    System/Databases
0df8d9 30 COMPONENT_LICENSE=    GPLv2
F 31 COMPONENT_LICENSE_FILE=    COPYING.txt
7a8bf6 32
0df8d9 33 include $(WS_MAKE_RULES)/common.mk
7a8bf6 34
496494 35 COMPONENT_PRE_CONFIGURE_ACTION += ( $(CLONEY) $(SOURCE_DIR) $(@D) )
7a8bf6 36
70151a 37 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
496494 38 CONFIGURE_OPTIONS += --disable-static
AW 39 CONFIGURE_OPTIONS += --enable-krb5
40 CONFIGURE_OPTIONS += --enable-msdblib
41 CONFIGURE_OPTIONS += --with-gnutls
42
43 COMPONENT_TEST_ARGS += -k
44
45 COMPONENT_TEST_ENV += LC_ALL=C.UTF-8
7a8bf6 46
c52e52 47 # Auto-generated dependencies
0df8d9 48 REQUIRED_PACKAGES += library/gmp
F 49 REQUIRED_PACKAGES += library/gnutls-3
50 REQUIRED_PACKAGES += library/nettle
7a8bf6 51 REQUIRED_PACKAGES += library/readline
0df8d9 52 REQUIRED_PACKAGES += shell/ksh93
7a8bf6 53 REQUIRED_PACKAGES += system/library