python/pycurl: native 64-bit build
[unleashed-userland.git] / components / java-commons-logging / Makefile
blob94f801133ac73ca9b7e9708f973510a4d6cf2aa2
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
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= commons-logging
19 COMPONENT_VERSION= 1.2
20 COMPONENT_PROJECT_URL= http://commons.apache.org/proper/commons-logging/
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-bin.tar.gz
23 COMPONENT_ARCHIVE_HASH= sha256:3f758805c7290d9c6d22d1451587c9f7232744aef4c984e88aa683cdea0587bd
24 COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/commons/logging/binaries/$(COMPONENT_ARCHIVE)
26 include ../../make-rules/prep.mk
27 include ../../make-rules/ips.mk
29 build:
31 install: prep
32 [ -d $(PROTO_DIR)/usr/share/lib ] || mkdir -p $(PROTO_DIR)/usr/share/lib
33 [ -f $(PROTO_DIR)/usr/share/lib/commons-logging.jar ] || \
34 cp $(SOURCE_DIR)/commons-logging-1.2.jar $(PROTO_DIR)/usr/share/lib
36 clean::
37 rm -rf $(BUILD_DIR)