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 2012 EveryCity Ltd. All rights reserved.
13 # Copyright 2013 Adam Stevko. All rights reserved.
14 # Copyright 2016 Jim Klimov. All rights reserved.
15 # Copyright 2019 Michal Nowak
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 2.0.10
25 COMPONENT_SUMMARY
= LZO is a portable lossless data compression library written in ANSI C
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072
29 COMPONENT_PROJECT_URL
= https
://www.oberhumer.com
/opensource
/$(COMPONENT_NAME
)/
30 COMPONENT_ARCHIVE_URL
= https
://www.oberhumer.com
/opensource
/$(COMPONENT_NAME
)/download
/$(COMPONENT_ARCHIVE
)
31 COMPONENT_FMRI
= library
/$(COMPONENT_NAME
)
32 COMPONENT_CLASSIFICATION
= System
/Libraries
33 COMPONENT_LICENSE
= GPLv2
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
38 CONFIGURE_OPTIONS
+= --enable-static
=no
39 CONFIGURE_OPTIONS
+= --enable-shared
41 COMPONENT_TEST_TARGETS
= check test
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= system
/library