# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 phorcys@126.com. All rights reserved. # BUILD_STYLE= configure BUILD_BITS= 64 include ../../../make-rules/shared-macros.mk COMPONENT_NAME= libcrossguid COMPONENT_VERSION= 1.0.2 COMPONENT_REVISION= 2 COMPONENT_FMRI= library/libcrossguid COMPONENT_CLASSIFICATION=System/Libraries COMPONENT_PROJECT_URL= https://github.com/graeme-hill/crossguid/ COMPONENT_SUMMARY= CrossGuid is a minimal, cross platform, C++ GUID library. COMPONENT_SRC_NAME= crossguid COMPONENT_SRC_VERSION= 8f399e8bd4 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_SRC_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz COMPONENT_ARCHIVE_HASH= sha256:3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10 COMPONENT_ARCHIVE_URL= https://ftp.heanet.ie/mirrors/xbmc/build-deps/sources/$(COMPONENT_SRC).tar.gz COMPONENT_LICENSE= MIT COMPONENT_LICENSE_FILE= LICENSE TEST_TARGET= $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk CFLAGS += -DGUID_LIBUUID COMPONENT_PREP_ACTION= \ ( cd $(@D) && \ touch NEWS README AUTHORS ChangeLog && \ libtoolize && aclocal && autoconf && automake --add-missing ) COMPONENT_POST_INSTALL_ACTION= \ ( $(GSED) -e "s:%LIBDIR%:$(CONFIGURE_LIBDIR.$(BITS)):g" \ -e "s:%VERSION%:$(COMPONENT_VERSION):g" \ $(SOURCE_DIR)/crossguid.pc > $(BUILD_DIR)/crossguid.pc.$(BITS) ) # Auto-generated dependencies REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += system/library