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 2016 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 1.9.4
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_SUMMARY
= Extremely Fast Compression algorithm
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/lz4
/lz4
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_PROJECT_URL
= https
://lz4.github.io
/lz4
/
29 COMPONENT_FMRI
= library
/lz4
30 COMPONENT_LICENSE
= BSD
,GPLv2
31 COMPONENT_LICENSE_FILE
= lz4.license
32 COMPONENT_CLASSIFICATION
= System
/Libraries
34 include $(WS_MAKE_RULES
)/common.mk
36 BINDIR
.32=/usr
/bin
/$(MACH32
)
39 LIBDIR
.64=/usr
/lib
/$(MACH64
)
42 COMMON_ENV
+= CFLAGS
="$(CFLAGS)"
43 COMMON_ENV
+= PREFIX
=/usr
44 COMMON_ENV
+= BINDIR
=$(BINDIR.
$(BITS
))
45 COMMON_ENV
+= LIBDIR
=$(LIBDIR.
$(BITS
))
47 COMPONENT_BUILD_ENV
= $(COMMON_ENV
)
48 COMPONENT_INSTALL_ENV
= $(COMMON_ENV
)
49 COMPONENT_TEST_ENV
= $(COMMON_ENV
)
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= system
/library