ptlib - fix openldap inclusion
[oi-userland.git] / components / developer / java-commons-logging / Makefile
blob6f44a3398d62c1305cedf78fc80eecf55fe22607
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 2011, Andrzej Szeszo
13 # Copyright 2013, Jon Tibble
14 # Copyright 2019, Nona Hansel
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= commons-logging
20 COMPONENT_VERSION= 1.2
21 COMPONENT_REVISION= 1
22 COMPONENT_PROJECT_URL= http://commons.apache.org/proper/commons-logging/
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-bin.tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:3f758805c7290d9c6d22d1451587c9f7232744aef4c984e88aa683cdea0587bd
26 COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/commons/logging/binaries/$(COMPONENT_ARCHIVE)
28 include $(WS_MAKE_RULES)/prep.mk
29 include $(WS_MAKE_RULES)/ips.mk
31 build:
33 install: prep
34 [ -d $(PROTO_DIR)/usr/share/lib ] || mkdir -p $(PROTO_DIR)/usr/share/lib
35 [ -f $(PROTO_DIR)/usr/share/lib/commons-logging.jar ] || \
36 cp $(SOURCE_DIR)/commons-logging-1.2.jar $(PROTO_DIR)/usr/share/lib
38 clean::
39 rm -rf $(BUILD_DIR)