2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Aurelien Larcher. All rights reserved.
14 # Copyright 2018 Michal Nowak
15 # Copyright 2021 Andreas Wacknitz
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= zziplib
22 COMPONENT_VERSION
= 0.13.78
23 COMPONENT_SUMMARY
= Lightweight ZIP library
24 COMPONENT_PROJECT_URL
= https
://github.com
/gdraheim
/zziplib
25 COMPONENT_FMRI
= compress
/zziplib
26 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:feaeee7c34f18aa27bd3da643cc6a47d04d2c41753a59369d09102d79b9b0a31
30 COMPONENT_ARCHIVE_URL
= https
://github.com
/gdraheim
/zziplib
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
31 COMPONENT_LICENSE
= LGPLv2
+
32 COMPONENT_LICENSE_FILE
= COPYING.LIB
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
39 CMAKE_OPTIONS
+= -DBUILD_TESTS
=ON
42 REQUIRED_PACKAGES
+= text
/xmlto
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= library
/zlib
46 REQUIRED_PACKAGES
+= system
/library