Makefile revision 5680
2521N/A#
2521N/A# CDDL HEADER START
2521N/A#
2521N/A# The contents of this file are subject to the terms of the
2521N/A# Common Development and Distribution License (the "License").
2521N/A# You may not use this file except in compliance with the License.
2521N/A#
2521N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2521N/A# or http://www.opensolaris.org/os/licensing.
2521N/A# See the License for the specific language governing permissions
2521N/A# and limitations under the License.
2521N/A#
2521N/A# When distributing Covered Code, include this CDDL HEADER in each
2521N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2521N/A# If applicable, add the following below this CDDL HEADER, with the
2521N/A# fields enclosed by brackets "[]" replaced with your own identifying
2521N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2521N/A#
2521N/A# CDDL HEADER END
2521N/A#
2521N/A
2521N/A#
5403N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2521N/A#
3998N/ABUILD_BITS= 64_and_32
2521N/Ainclude ../../make-rules/shared-macros.mk
3998N/A
3998N/ACOMPONENT_NAME= librsync
2521N/ACOMPONENT_VERSION= 0.9.7
6854N/ACOMPONENT_PROJECT_URL= http://librsync.sourceforge.net/
6854N/ACOMPONENT_ARCHIVE_HASH= \
6854N/A sha256:6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6
2521N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/librsync/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
2521N/ACOMPONENT_BUGDB= library/librsync
2521N/A
6854N/A# librsync documentation as originally found at:
6854N/A# http://librsync.sourcefrog.net/doc/librsync.html
6854N/A# http://librsync.sourcefrog.net/doc/librsync.pdf
3533N/A# The files there are not in an easily downloadable format so a local
2521N/A# archive has been created for them.
3998N/ACOMPONENT_NAME_1= librsync-docs
3998N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION)
6854N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
6854N/ACOMPONENT_ARCHIVE_HASH_1= \
6854N/A sha256:e805819272f71b06823ee13f2dd7ddb92e75d75de18c33b7fd32133847c52afe
6854N/ACOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
6854N/ACOMPONENT_POST_UNPACK_ACTION_1 = $(MV) $(COMPONENT_NAME_1) $(@D)
6854N/A
6854N/ATPNO= 9087
6854N/A
6854N/ACLEAN_PATHS += $(COMPONENT_NAME_1)
6854N/A
6854N/Ainclude $(WS_MAKE_RULES)/common.mk
7006N/A
6854N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
6854N/A ($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
6854N/A tar -xvf $(COMPONENT_ARCHIVE_1)
6854N/A
7006N/ACFLAGS += -features=no%extinl
6854N/A
6854N/ACONFIGURE_OPTIONS += --enable-shared
6854N/A
6854N/APROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/librsync-0.9.7
6854N/A
6854N/AASLR_MODE = $(ASLR_ENABLE)
6854N/A
3998N/A# Master test results are the same for 32-bit and 64-bit, so override
3998N/A# here, rather than create multiple identical master files.
3998N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3998N/A
3998N/A# The additional librsync specific set of transforms to be applied to the
3998N/A# test results to try to normalize them.
4194N/ACOMPONENT_TEST_TRANSFORMS += \
3998N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3998N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3998N/A '-e "/^XXX_CC_XXX$$/d" '
3998N/A
3998N/ACOMPONENT_POST_INSTALL_ACTION += \
3998N/A $(MKDIR) -p $(PROTOUSRSHAREDOCDIR) ; \
5860N/A $(CP) librsync-docs/librsync.pdf $(PROTOUSRSHAREDOCDIR) ; \
5860N/A $(CP) -r librsync-docs/html $(PROTOUSRSHAREDOCDIR)
4194N/A
3998N/AREQUIRED_PACKAGES += library/popt
6854N/A