# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2022 Niklas Poslovski # BUILD_STYLE= cmake include ../../../make-rules/shared-macros.mk COMPONENT_NAME= librsync COMPONENT_VERSION= 2.3.4 COMPONENT_SUMMARY= A library that implements the rsync remote-delta algorithm COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_PROJECT_URL= https://librsync.github.io/ COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f COMPONENT_ARCHIVE_URL= https://github.com/librsync/librsync/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= library/librsync COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_LICENSE= LGPLv2.1 COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk COMPONENT_TEST_TRANSFORMS += \ ' -e "s/[0-9]*\.[0-9]* sec//g" ' \ ' -n ' \ ' -e "/Passed/p" ' \ ' -e "/passed/p" ' # Auto-generated dependencies REQUIRED_PACKAGES += library/popt REQUIRED_PACKAGES += system/library