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 Daniel Chan
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= quazip
21 COMPONENT_VERSION
= 1.4.0
22 COMPONENT_SUMMARY
= C
++ wrapper for Gilles Vollant
's ZIP/UNZIP package using Trolltech's Qt library
23 COMPONENT_PROJECT_URL
= https
://github.com
/stachenov
/$(COMPONENT_NAME
)
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:79633fd3a18e2d11a7d5c40c4c79c1786ba0c74b59ad752e8429746fe1781dd6
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/tags/v
$(HUMAN_VERSION
).
tar.gz
28 COMPONENT_FMRI
= library
/quazip
29 COMPONENT_LICENSE
= LGPLv2.1
30 COMPONENT_LICENSE_FILE
= COPYING
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
37 LDFLAGS
+= -Wl
,-rpath
,$(QT5_LIBDIR
)
38 CMAKE_ENV
+= CMAKE_PREFIX_PATH
="$(QT5_LIBDIR)/cmake:$(USRLIBDIR.$(BITS))/cmake/"
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
42 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
43 REQUIRED_PACKAGES
+= compress
/bzip2
44 REQUIRED_PACKAGES
+= library
/qt5
45 REQUIRED_PACKAGES
+= library
/zlib
46 REQUIRED_PACKAGES
+= system
/library