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