libsm: update to 1.2.5
[oi-userland.git] / components / library / java-commons-bsf / Makefile
blob713ea664ba1c2e2855a54f61cdb6b45f3d0365d2
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, Wiselabs Software Ltda - http://www.wiselabs.com.br . All rights reserved.
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= java-commons-bsf
18 COMPONENT_VERSION= 2.4.0
19 COMPONENT_SUMMARY= Bean Scripting Framework (BSF) is a set of Java classes which provides scripting language support within Java applications, and access to Java objects and methods from scripting languages.
20 COMPONENT_PROJECT_URL= https://commons.apache.org/proper/commons-bsf
21 COMPONENT_SRC= bsf-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= bsf-bin-$(COMPONENT_VERSION).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:28bbd69c6218922a94ae0c2fcbf5a7bf2a8de5dabc849167687933e4c986c3d7
25 COMPONENT_ARCHIVE_URL= http://ftp.unicamp.br/pub/apache/commons/bsf/binaries/$(COMPONENT_ARCHIVE)
26 COMPONENT_FMRI= library/java/commons-bsf
27 COMPONENT_CLASSIFICATION= Development/Java
28 COMPONENT_LICENSE= ASLv1.1
30 include $(WS_MAKE_RULES)/prep.mk
31 include $(WS_MAKE_RULES)/ips.mk
33 COMPONENT_POST_UNPACK_ACTION= $(MV) $(COMPONENT_SRC)/lib/bsf.jar $(COMPONENT_SRC)/lib/bsf-$(COMPONENT_VERSION).jar
35 build:
37 install: prep
38 [ -d $(PROTO_DIR)/usr/share/lib/java ] || mkdir -p $(PROTO_DIR)/usr/share/lib/java
39 [ -f $(PROTO_DIR)/usr/share/lib/java/bsf-$(COMPONENT_VERSION).jar ] || \
40 $(CP) $(SOURCE_DIR)/lib/bsf-$(COMPONENT_VERSION).jar $(PROTO_DIR)/usr/share/lib/java
42 clean::
43 rm -rf $(BUILD_DIR)