Andreas Wacknitz
2023-08-03 55b64544b67cde86b1b9e0b66fb6e4b5da512946
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
55b645 29 COMPONENT_VERSION=    5.4.4
f18421 30 COMPONENT_SUMMARY=    XZ Utils - loss-less file compression application and library
9fcb78 31 COMPONENT_PROJECT_URL=    https://tukaani.org/xz/
f18421 32 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
74c7c9 33 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
55b645 34 COMPONENT_ARCHIVE_HASH= sha256:aae39544e254cfd27e942d35a048d592959bd7a79f9a624afb0498bb5613bdf8
74c7c9 35 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
AP 36 COMPONENT_FMRI=        compress/xz
f18421 37 COMPONENT_CLASSIFICATION= Applications/System Utilities
74c7c9 38 COMPONENT_LICENSE=    LGPLv2.1
AP 39 COMPONENT_LICENSE_FILE=    COPYING.LGPLv2.1
40
9fcb78 41 include $(WS_MAKE_RULES)/common.mk
74c7c9 42
0769a1 43 CONFIGURE_OPTIONS += --disable-static
AW 44 CONFIGURE_OPTIONS += --disable-rpath
98ccbc 45
0769a1 46 CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)"
98ccbc 47
5002d6 48 unexport SHELLOPTS
AW 49
0769a1 50 COMPONENT_TEST_DIR = $(@D)/tests
74c7c9 51
9fcb78 52 # Auto-generated dependencies
5002d6 53 REQUIRED_PACKAGES += SUNWcs
55b645 54 REQUIRED_PACKAGES += shell/ksh93
0e3eaa 55 REQUIRED_PACKAGES += system/library
9fcb78 56 REQUIRED_PACKAGES += system/xopen/xcu4