json-c: add 32 bit library, needed in order to be able to build fontconfig in 32...
[oi-userland.git] / components / library / jaxb / Makefile
blob42ddc9380fb58544aeff6712021813164f5f45e7
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Alexander Pyhalov
15 BUILD_STYLE= justmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= jaxb-ri
19 COMPONENT_VERSION= 2.2.11
20 COMPONENT_REVISIOM= 3
21 COMPONENT_SUMMARY= jaxb - Java Architecture for XML Binding
22 COMPONENT_PROJECT_URL= https://jaxb.java.net/
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).src.zip
25 COMPONENT_ARCHIVE_HASH= sha256:eb901f010d98d8cc7115c5440016443d02e7d1452d85ff565bf20a977bd9cb4e
26 COMPONENT_ARCHIVE_URL= https://pkgs.fedoraproject.org/repo/pkgs/glassfish-jaxb/$(COMPONENT_ARCHIVE)/bed496dd96e5b9efc4539fc5bdb69c69/$(COMPONENT_ARCHIVE)
27 COMPONENT_CLASSIFICATION= Development/Java
28 COMPONENT_FMRI= library/java/jaxb
29 COMPONENT_LICENSE= CDDL1.0,GPLv2.0
30 COMPONENT_LICENSE_FILE= jaxb.license
32 include $(WS_MAKE_RULES)/common.mk
34 UNPACK_ARGS= -r $(COMPONENT_SRC)
36 COMPONENT_BUILD_ENV += JAVA_HOME=$(JAVA_HOME)
37 # Build fails with some locales like french
38 COMPONENT_BUILD_ENV += LC_ALL=C
40 COMPONENT_BUILD_ACTION= \
41 cd $(@D); $(ENV) $(COMPONENT_BUILD_ENV) \
42 mvn install
44 # Nothing to do here
45 COMPONENT_INSTALL_ACTION= true
47 PKG_PROTO_DIRS += $(BUILD_DIR_64)
49 # Manually added dependencies
50 REQUIRED_PACKAGES += developer/build/maven
51 REQUIRED_PACKAGES += developer/java/openjdk8
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += shell/ksh93