commit | author | age
|
d729ee
|
1 |
# |
NP |
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 2022 Niklas Poslovski |
|
13 |
# |
|
14 |
|
190d34
|
15 |
OPENSSL_VERSION= 3.1 |
d729ee
|
16 |
include ../../../make-rules/shared-macros.mk |
NP |
17 |
|
|
18 |
COMPONENT_NAME= sqlcipher |
f04746
|
19 |
COMPONENT_VERSION= 4.5.6 |
d729ee
|
20 |
COMPONENT_SUMMARY= SQLite extension that provides transparent 256-bit AES encryption of database |
30567c
|
21 |
COMPONENT_PROJECT_URL= https://www.zetetic.net/sqlcipher/ |
d729ee
|
22 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
NP |
23 |
COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz |
|
24 |
COMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_ARCHIVE) |
f04746
|
25 |
COMPONENT_ARCHIVE_HASH= sha256:e4a527e38e67090c1d2dc41df28270d16c15f7ca5210a3e7ec4c4b8fda36e28f |
30567c
|
26 |
COMPONENT_FMRI= database/$(COMPONENT_NAME) |
d729ee
|
27 |
COMPONENT_CLASSIFICATION= Development/Databases |
NP |
28 |
COMPONENT_LICENSE= BSD |
f04746
|
29 |
COMPONENT_LICENSE_FILE= LICENSE.md |
d729ee
|
30 |
|
NP |
31 |
CFLAGS += -DSQLITE_HAS_CODEC |
083f5f
|
32 |
LDFLAGS += -L$(OPENSSL_LIBDIR) |
d729ee
|
33 |
|
NP |
34 |
CONFIGURE_OPTIONS += --enable-tempstore=yes |
083f5f
|
35 |
CONFIGURE_OPTIONS += LDFLAGS=-L$(OPENSSL_LIBDIR) |
AW |
36 |
CONFIGURE_OPTIONS += CPPFLAGS=-I$(OPENSSL_INCDIR) |
d729ee
|
37 |
|
NP |
38 |
TEST_TARGET = $(NO_TESTS) |
|
39 |
include $(WS_MAKE_RULES)/common.mk |
|
40 |
|
|
41 |
# Auto-generated dependencies |
|
42 |
REQUIRED_PACKAGES += library/libedit |
190d34
|
43 |
REQUIRED_PACKAGES += library/security/openssl-31 |
d729ee
|
44 |
REQUIRED_PACKAGES += library/zlib |
NP |
45 |
REQUIRED_PACKAGES += system/library |
|
46 |
REQUIRED_PACKAGES += system/library/math |