gcc-6: fix major version
[unleashed-userland.git] / components / raptor / Makefile
blobf8ddac717b62d1660bdc37468566bfea686efe72
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 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= raptor
20 COMPONENT_VERSION= 1.4.21
21 COMPONENT_SUMMARY= RDF Parser Library - RDF parser utility
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:db3172d6f3c432623ed87d7d609161973d2f7098e3d2233d0702fbcc22cfd8ca
26 COMPONENT_ARCHIVE_URL= \
27 http://download.librdf.org/source/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://librdf.org/
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
34 # Failed tests without this
35 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
37 CONFIGURE_SCRIPT= $(@D)/configure
39 CONFIGURE_OPTIONS += --enable-static=no
41 CFLAGS.32 += -D_FILE_OFFSET_BITS=64
42 CFLAGS += $(CFLAGS.$(BITS))
44 build: $(BUILD_32_and_64)
46 install: $(INSTALL_32_and_64)
48 test: $(TEST_32_and_64)