1516N/A#
1516N/A# CDDL HEADER START
1516N/A#
1516N/A# The contents of this file are subject to the terms of the
1516N/A# Common Development and Distribution License (the "License").
1516N/A# You may not use this file except in compliance with the License.
1516N/A#
1516N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1516N/A# or http://www.opensolaris.org/os/licensing.
1516N/A# See the License for the specific language governing permissions
1516N/A# and limitations under the License.
1516N/A#
1516N/A# When distributing Covered Code, include this CDDL HEADER in each
1516N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1516N/A# If applicable, add the following below this CDDL HEADER, with the
1516N/A# fields enclosed by brackets "[]" replaced with your own identifying
1516N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1516N/A#
1516N/A# CDDL HEADER END
1516N/A#
1516N/A
1516N/A#
5585N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1516N/A#
5680N/ABUILD_BITS= 64
1516N/Ainclude ../../make-rules/shared-macros.mk
1516N/A
1516N/ACOMPONENT_NAME= pbzip2
5585N/ACOMPONENT_VERSION= 1.1.13
1516N/ACOMPONENT_PROJECT_URL= http://compression.ca/pbzip2/
1516N/ACOMPONENT_ARCHIVE_HASH= \
5585N/A sha256:8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6
5585N/ACOMPONENT_ARCHIVE_URL= https://launchpad.net/pbzip2/1.1/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
1516N/A
5585N/ATPNO= 27242
2899N/A
5680N/ABUILD_STYLE= justmake
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
1516N/A
7292N/ACXX += -std=sun03
7292N/A
1516N/A# pbzip2 Solaris Sun Studio build uses a non-standard Makefile
1516N/ACOMPONENT_BUILD_ARGS += CC="$(CXX)"
1516N/ACOMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio
1516N/ACOMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio
1516N/ACOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
1516N/A
3817N/AREQUIRED_PACKAGES += compress/bzip2
3817N/AREQUIRED_PACKAGES += system/library/c++-runtime
3817N/AREQUIRED_PACKAGES += system/library/math