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.
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.
12 # Copyright 2022 erwinlem
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= domoticz
20 COMPONENT_VERSION
= 2024.4
21 COMPONENT_SUMMARY
= Open source Home Automation System
22 COMPONENT_PROJECT_URL
= http
://www.domoticz.com
/
23 COMPONENT_FMRI
= network
/${COMPONENT_NAME}
24 COMPONENT_CLASSIFICATION
=Applications
/Internet
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/domoticz
/domoticz
/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:d87113d7cacd0b52b9126fcc1ef24e140a4f7042d5bc6262e86e4b4752f5cf38
29 COMPONENT_LICENSE
= GPL-3.0 license
30 COMPONENT_LICENSE_FILE
= License.txt
32 TEST_TARGET
=$(NO_TESTS
) # if no testsuite enabled
33 include $(WS_MAKE_RULES
)/common.mk
35 CMAKE_PREFIX
= /usr
/${COMPONENT_NAME}
37 COMPONENT_PRE_CMAKE_ACTION
= (git clone https
://github.com
/domoticz
/minizip.git
$(SOURCE_DIR
)/extern
/minizip
)
40 LDFLAGS
+= -lnsl
-lsocket
-lsqlite3
42 CMAKE_OPTIONS
+= -DUSE_BUILTIN_JSONCPP
=OFF
43 #CMAKE_OPTIONS+= -DUSE_BUILTIN_MINIZIP=OFF
44 CMAKE_OPTIONS
+= -DUSE_BUILTIN_MQTT
=OFF
45 CMAKE_OPTIONS
+= -DUSE_BUILTIN_SQLITE
=OFF
48 REQUIRED_PACKAGES
+= library
/cereal
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
52 REQUIRED_PACKAGES
+= SUNWcs
53 REQUIRED_PACKAGES
+= database
/sqlite-3
54 REQUIRED_PACKAGES
+= library
/jsoncpp
55 REQUIRED_PACKAGES
+= library
/zlib
56 REQUIRED_PACKAGES
+= network
/mosquitto
57 REQUIRED_PACKAGES
+= runtime
/lua-54
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math
60 REQUIRED_PACKAGES
+= system
/library
/usb
/libusb
61 REQUIRED_PACKAGES
+= web
/curl