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
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.
14 # Copyright 2019 Nona Hansel
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= raptor
22 COMPONENT_VERSION
= 1.4.21
24 COMPONENT_SUMMARY
= RDF Parser Library
- RDF parser utility
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:db3172d6f3c432623ed87d7d609161973d2f7098e3d2233d0702fbcc22cfd8ca
29 COMPONENT_ARCHIVE_URL
= \
30 http
://download.librdf.org
/source
/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= http
://librdf.org
/
33 include $(WS_MAKE_RULES
)/common.mk
35 # Failed tests without this
36 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
38 CONFIGURE_SCRIPT
= $(@D
)/configure
40 CONFIGURE_OPTIONS
+= --enable-static
=no
42 CFLAGS
.32 += -D_FILE_OFFSET_BITS
=64
43 CFLAGS
+= $(CFLAGS.
$(BITS
))
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= library
/libxml2
47 REQUIRED_PACKAGES
+= library
/libxslt
48 REQUIRED_PACKAGES
+= shell/ksh93
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math
51 REQUIRED_PACKAGES
+= web
/curl