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.
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.
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]
21 # Copyright (c) 2013 Louis M. Picciano. All rights reserved.
22 # Copyright (c) 2020 Michal Nowak
25 include ..
/..
/..
/make-rules
/shared-macros.mk
27 COMPONENT_NAME
= tcl-sqlite
28 COMPONENT_VERSION
= 3.30.1
29 COMPONENT_REVISIOn
= 1
30 TARBALL_VERSION
= 3300100
31 COMPONENT_SUMMARY
= SQL database engine library
- tcl files
32 COMPONENT_SRC
= sqlite-autoconf-
$(TARBALL_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:8c5a50db089bd2a1b08dbc5b00d2027602ca7ff238ba7658fabca454d4298e60
36 COMPONENT_ARCHIVE_URL
= http
://www.sqlite.org
/2019/$(COMPONENT_ARCHIVE
)
37 COMPONENT_PROJECT_URL
= http
://www.sqlite.org
/
38 COMPONENT_FMRI
= runtime
/tcl-8
/tcl-sqlite-3
39 COMPONENT_CLASSIFICATION
= Development
/Databases
40 COMPONENT_LICENSE
= Public Domain
42 TEST_TARGET
= $(NO_TESTS
)
44 include $(WS_MAKE_RULES
)/common.mk
46 CFLAGS
+= -D_POSIX_PTHREAD_SEMANTICS
48 CFLAGS
+= -DSQLITE_SECURE_DELETE
49 CFLAGS
+= -DSQLITE_ENABLE_FTS3
51 CFLAGS
+= -DHAVE_USLEEP
52 CFLAGS
+= -DHAVE_FDATASYNC
53 CFLAGS
+= -DHAVE_STATVFS
54 CFLAGS
+= -DSQLITE_ENABLE_UNLOCK_NOTIFY
55 CFLAGS
+= -DSQLITE_ENABLE_STAT2
57 CONFIGURE_SCRIPT
= $(SOURCE_DIR
)/tea
/configure
59 CONFIGURE_OPTIONS
+= --enable-shared
60 CONFIGURE_OPTIONS
+= --enable-threads
61 CONFIGURE_OPTIONS
+= --enable-64bit
62 CONFIGURE_OPTIONS
+= --with-tcl
="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
64 # Auto-generated dependencies
65 REQUIRED_PACKAGES
+= system
/library