Marcel Telka
2024-03-30 f9ba3aac090e918abb602b2ce28e58b7dd0f59fa
commit | author | age
74c7c9 1 #
AP 2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
22 #
5002d6 23
f18421 24 BUILD_BITS= 64_and_32
5002d6 25 USE_DEFAULT_TEST_TRANSFORMS= yes
74c7c9 26 include ../../../make-rules/shared-macros.mk
AP 27
28 COMPONENT_NAME=        xz
d34a1d 29 COMPONENT_VERSION=    5.6.1
3657ea 30 COMPONENT_REVISION= 1
f18421 31 COMPONENT_SUMMARY=    XZ Utils - loss-less file compression application and library
9fcb78 32 COMPONENT_PROJECT_URL=    https://tukaani.org/xz/
f18421 33 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3016ae 34 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
d34a1d 35 COMPONENT_ARCHIVE_HASH= sha256:f334777310ca3ae9ba07206d78ed286a655aa3f44eec27854f740c26b2cd2ed0
3016ae 36 COMPONENT_ARCHIVE_URL=    https://github.com/tukaani-project/xz/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
AW 37 COMPONENT_SIG_URL=    $(COMPONENT_ARCHIVE_URL).sig
74c7c9 38 COMPONENT_FMRI=        compress/xz
f18421 39 COMPONENT_CLASSIFICATION= Applications/System Utilities
d32d22 40 COMPONENT_LICENSE=    0BSD, GPLv2+,GPLv3+, LGPLv2.1, CC BY-SA 4.0
74c7c9 41
9fcb78 42 include $(WS_MAKE_RULES)/common.mk
74c7c9 43
3657ea 44 COMPONENT_PRE_CONFIGURE_ACTION= ( cd $(SOURCE_DIR) && rm m4/build-to-host.m4 && autoreconf -fi )
TW 45
0769a1 46 CONFIGURE_OPTIONS += --disable-static
AW 47 CONFIGURE_OPTIONS += --disable-rpath
98ccbc 48
0769a1 49 CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)"
5002d6 50
0769a1 51 COMPONENT_TEST_DIR = $(@D)/tests
74c7c9 52
9fcb78 53 # Auto-generated dependencies
55b645 54 REQUIRED_PACKAGES += shell/ksh93
0e3eaa 55 REQUIRED_PACKAGES += system/library
9fcb78 56 REQUIRED_PACKAGES += system/xopen/xcu4