python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / raptor2 / Makefile
blobb14aca12642086d2f3189bbb176fff67d4358023
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2013 David Hoeppner. All rights reserved.
22 # Copyright (c) 2019 Nona Hansel
25 BUILD_BITS= 64_and_32
26 USE_DEFAULT_TEST_TRANSFORMS= yes
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= raptor2
30 COMPONENT_VERSION= 2.0.16
31 COMPONENT_REVISION= 1
32 COMPONENT_SUMMARY= RDF Parser Library - RDF parser utility
33 COMPONENT_DESCRIPTION= Raptor2 provides a set of parsers and serializers that generate Resource Description Framework (RDF)\
34 triples by parsing syntaxes or serialize the triples into a syntax
35 COMPONENT_PROJECT_URL= https://librdf.org/raptor/
36 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
37 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
38 COMPONENT_ARCHIVE_HASH= sha256:089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680
39 COMPONENT_ARCHIVE_URL= https://download.librdf.org/source/$(COMPONENT_ARCHIVE)
40 COMPONENT_FMRI= library/raptor2
41 COMPONENT_CLASSIFICATION= System/Libraries
42 COMPONENT_LICENSE= Apache 2.0, LGPLv2.1+, GPLv2+, Raptor RDF Syntax Library License
44 include $(WS_MAKE_RULES)/common.mk
46 CONFIGURE_OPTIONS += --disable-static
47 CONFIGURE_OPTIONS += --enable-shared
49 $(INSTALL_64): COMPONENT_POST_INSTALL_ACTION = \
50 /usr/bin/elfedit -e "dyn:runpath ''" $(PROTOUSRLIBDIR64)/libraptor2.so.0.0.0
52 COMPONENT_POST_INSTALL_ACTION += \
53 LC_ALL=en_US.UTF-8 lynx --display_charset=utf-8 --dump -nolist $(SOURCE_DIR)/LICENSE.html > $(COMPONENT_NAME).license
55 unexport SHELLOPTS
57 # the license file is dynamically build, thus we need to remove it:
58 clean::
59 $(RM) $(COMPONENT_LICENSE_FILE)
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES += library/icu
63 REQUIRED_PACKAGES += library/libxml2
64 REQUIRED_PACKAGES += library/libxslt
65 REQUIRED_PACKAGES += library/libyajl2
66 REQUIRED_PACKAGES += system/library
67 REQUIRED_PACKAGES += web/curl