rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / archiver / pigz / Makefile
bloba17fc1af46f53b577f8c18d6646910d938a5e88e
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2016, Jim Klimov
23 # Copyright (c) 2018, Michal Nowak
24 # Copyright (c) 2021, Andreas Wacknitz
27 BUILD_STYLE= justmake
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= pigz
31 COMPONENT_VERSION= 2.8
32 COMPONENT_SUMMARY= Parallel implementation of gzip
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_PROJECT_URL= https://zlib.net/pigz/
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0
37 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= compress/pigz
39 COMPONENT_CLASSIFICATION= Applications/System Utilities
40 COMPONENT_LICENSE= BSD-like
41 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
43 include $(WS_MAKE_RULES)/common.mk
45 CFLAGS += -std=c99 $(CPP_LARGEFILES)
47 COMPONENT_BUILD_ARGS += CC="$(CC)"
48 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
49 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
51 COMPONENT_TEST_TARGETS= test
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += library/zlib
55 REQUIRED_PACKAGES += system/library
56 REQUIRED_PACKAGES += system/library/math