Makefile revision 3661
311N/A#
311N/A# CDDL HEADER START
311N/A#
311N/A# The contents of this file are subject to the terms of the
311N/A# Common Development and Distribution License (the "License").
311N/A# You may not use this file except in compliance with the License.
311N/A#
311N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
311N/A# or http://www.opensolaris.org/os/licensing.
311N/A# See the License for the specific language governing permissions
311N/A# and limitations under the License.
311N/A#
311N/A# When distributing Covered Code, include this CDDL HEADER in each
311N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
311N/A# If applicable, add the following below this CDDL HEADER, with the
311N/A# fields enclosed by brackets "[]" replaced with your own identifying
311N/A# information: Portions Copyright [yyyy] [name of copyright owner]
311N/A#
311N/A# CDDL HEADER END
311N/A#
311N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
311N/A#
3996N/Ainclude ../../make-rules/shared-macros.mk
311N/A
311N/ACOMPONENT_NAME= librsync
311N/ACOMPONENT_VERSION= 0.9.7
311N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
311N/ACOMPONENT_PROJECT_URL= http://librsync.sourceforge.net/
311N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
311N/ACOMPONENT_ARCHIVE_HASH= \
618N/A sha256:6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6
311N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/librsync/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
844N/ACOMPONENT_BUGDB= library/librsync
844N/A
311N/A# librsync documentation as originally found at:
1273N/A# http://librsync.sourcefrog.net/doc/librsync.html
311N/A# http://librsync.sourcefrog.net/doc/librsync.pdf
3661N/A# The files there are not in an easily downloadable format so a local
3661N/A# archive has been created for them.
3996N/ACOMPONENT_NAME_1= librsync-docs
3996N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION)
3996N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
311N/ACOMPONENT_ARCHIVE_HASH_1= \
600N/A sha256:e805819272f71b06823ee13f2dd7ddb92e75d75de18c33b7fd32133847c52afe
600N/ACOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
600N/A
311N/ATPNO= 9087
311N/A
311N/ACLOBBER_PATHS += $(COMPONENT_NAME_1)
311N/A
311N/Ainclude ../../make-rules/prep.mk
311N/Ainclude ../../make-rules/configure.mk
311N/Ainclude ../../make-rules/ips.mk
311N/A
311N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
311N/A ($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
311N/A tar -xvf $(COMPONENT_ARCHIVE_1)
311N/A
311N/ACFLAGS += -features=no%extinl
311N/A
311N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
311N/A
311N/ACONFIGURE_OPTIONS += --enable-shared
311N/A
3996N/APROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/librsync-0.9.7
3996N/A
3996N/APATCH_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