gcc-6: don't ship info pages
[unleashed-userland.git] / components / library / libcrossguid / Makefile
blob91952ee3a91190f8350084e40d462220c50dfe67
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 phorcys@126.com. All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libcrossguid
19 COMPONENT_VERSION= 1.0.0
20 COMPONENT_FMRI = library/libcrossguid
21 COMPONENT_CLASSIFICATION = System/Libraries
22 COMPONENT_PROJECT_URL = https://github.com/graeme-hill/crossguid/
23 COMPONENT_SUMMARY= CrossGuid is a minimal, cross platform, C++ GUID library.
24 COMPONENT_SRC_NAME= crossguid
25 COMPONENT_SRC_VERSION= 8f399e8bd4
26 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_SRC_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10
30 COMPONENT_ARCHIVE_URL= \
31 http://ftp.heanet.ie/mirrors/xbmc/build-deps/sources/$(COMPONENT_SRC).tar.gz
32 COMPONENT_LICENSE = MIT
34 include $(WS_TOP)/make-rules/prep.mk
35 include $(WS_TOP)/make-rules/configure.mk
36 include $(WS_TOP)/make-rules/ips.mk
38 CFLAGS+= -DGUID_LIBUUID
40 COMPONENT_PREP_ACTION= \
41 ( cd $(@D) && \
42 touch NEWS README AUTHORS ChangeLog && \
43 libtoolize && aclocal && autoconf && automake --add-missing )
45 COMPONENT_POST_INSTALL_ACTION= \
46 ( $(GSED) -e "s:%LIBDIR%:$(CONFIGURE_LIBDIR.$(BITS)):g" \
47 -e "s:%VERSION%:$(COMPONENT_VERSION):g" \
48 $(SOURCE_DIR)/crossguid.pc > $(BUILD_DIR)/crossguid.pc.$(BITS) )
50 build: $(BUILD_32_and_64)
52 install: $(INSTALL_32_and_64)
54 test: $(NO_TESTS)
56 REQUIRED_PACKAGES += system/library
57 REQUIRED_PACKAGES += system/library/g++-4-runtime
58 REQUIRED_PACKAGES += system/library/gcc-4-runtime