Makefile revision 3661
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER START
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The contents of this file are subject to the terms of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Common Development and Distribution License (the "License").
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You may not use this file except in compliance with the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45e9809aff7304721fddb95654901b32195c9c7avboxsync# or http://www.opensolaris.org/os/licensing.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See the License for the specific language governing permissions
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and limitations under the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# When distributing Covered Code, include this CDDL HEADER in each
45e9809aff7304721fddb95654901b32195c9c7avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# If applicable, add the following below this CDDL HEADER, with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
45e9809aff7304721fddb95654901b32195c9c7avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER END
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude ../../make-rules/shared-macros.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_NAME= librsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_VERSION= 0.9.7
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_PROJECT_URL= http://librsync.sourceforge.net/
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_HASH= \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sha256:6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/librsync/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_BUGDB= library/librsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync# librsync documentation as originally found at:
45e9809aff7304721fddb95654901b32195c9c7avboxsync# http://librsync.sourcefrog.net/doc/librsync.html
45e9809aff7304721fddb95654901b32195c9c7avboxsync# http://librsync.sourcefrog.net/doc/librsync.pdf
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The files there are not in an easily downloadable format so a local
45e9809aff7304721fddb95654901b32195c9c7avboxsync# archive has been created for them.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_NAME_1= librsync-docs
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_HASH_1= \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sha256:e805819272f71b06823ee13f2dd7ddb92e75d75de18c33b7fd32133847c52afe
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTPNO= 9087
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCLOBBER_PATHS += $(COMPONENT_NAME_1)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude ../../make-rules/prep.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude ../../make-rules/configure.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude ../../make-rules/ips.mk
COMPONENT_PRE_CONFIGURE_ACTION = \
($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
tar -xvf $(COMPONENT_ARCHIVE_1)
CFLAGS += -features=no%extinl
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS += --enable-shared
PROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/librsync-0.9.7
PATCH_LEVEL = 1
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
$(MKDIR) -p $(PROTOUSRSHAREDOCDIR) ; \
$(CP) librsync-docs/librsync.pdf $(PROTOUSRSHAREDOCDIR) ; \
$(CP) -r librsync-docs/html $(PROTOUSRSHAREDOCDIR)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk