Aurelien Larcher
2020-05-23 eab8596c703afe1ce24c1ce77d58de28df1456ac
commit | author | age
49d672 1 #
LL 2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
35e110 21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
49d672 22 #
262ca1 23 include ../../../make-rules/shared-macros.mk
49d672 24
e24028 25 COMPONENT_NAME=        tcltls
262ca1 26 COMPONENT_MAJOR_VERSION=1.6
AP 27 COMPONENT_MINOR_VERSION=7
eab859 28 COMPONENT_REVISION=    1
262ca1 29 COMPONENT_VERSION=    $(COMPONENT_MAJOR_VERSION).$(COMPONENT_MINOR_VERSION)
AP 30 COMPONENT_SUMMARY=    TCL bindings for OpenSSL
60e6e0 31 COMPONENT_PROJECT_URL=    http://tls.sourceforge.net/
e24028 32 COMPONENT_SRC_NAME=    tls
RB 33 COMPONENT_SRC=        $(COMPONENT_SRC_NAME)$(COMPONENT_VERSION)
49d672 34 COMPONENT_ARCHIVE=    $(COMPONENT_SRC)-src.tar.gz
35e110 35 COMPONENT_ARCHIVE_HASH=    \
262ca1 36     sha256:5119de3e5470359b97a8a00d861c9c48433571ee0167af0a952de66c99d3a3b8
49d672 37 COMPONENT_ARCHIVE_URL=    http://sourceforge.net/projects/tls/files/tls/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
262ca1 38 COMPONENT_CLASSIFICATION=    Development/Other Languages
AP 39 COMPONENT_FMRI=        runtime/tcl-8/tcl-openssl
40 COMPONENT_LICENSE=    BSD-like
49d672 41
262ca1 42 include $(WS_MAKE_RULES)/prep.mk
AP 43 include $(WS_MAKE_RULES)/configure.mk
44 include $(WS_MAKE_RULES)/ips.mk
49d672 45
LL 46 CONFIGURE_ENV += $(CONFIGURE_ENV.$(BITS))
47 CONFIGURE_ENV.64 +=    MACH64DIR="$(MACH64)"
262ca1 48 CONFIGURE_ENV.32 +=    MACH32DIR="$(MACH32)"
49d672 49
LL 50 CONFIGURE_OPTIONS +=    --with-tclinclude=/usr/include
51 CONFIGURE_OPTIONS +=    --enable-shared
52 CONFIGURE_OPTIONS +=    --enable-threads
53 CONFIGURE_OPTIONS +=    --with-tcl=$(CONFIGURE_LIBDIR.$(BITS))
54 CONFIGURE_OPTIONS.64 += --enable-64bit
262ca1 55
AP 56 PKG_MACROS += COMPONENT_MAJOR_VERSION=$(COMPONENT_MAJOR_VERSION)
49d672 57
LL 58 COMPONENT_TEST_TARGETS = test
59
60 build:        $(BUILD_32_and_64)
61
62 install:    $(INSTALL_32_and_64)
63
64 test:        $(TEST_32_and_64)
65
262ca1 66 REQUIRED_PACKAGES += library/security/openssl
AP 67 REQUIRED_PACKAGES += runtime/tcl-8
68 REQUIRED_PACKAGES += system/library