Makefile revision 844
234N/A#
234N/A# CDDL HEADER START
234N/A#
234N/A# The contents of this file are subject to the terms of the
234N/A# Common Development and Distribution License (the "License").
234N/A# You may not use this file except in compliance with the License.
234N/A#
234N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234N/A# or http://www.opensolaris.org/os/licensing.
234N/A# See the License for the specific language governing permissions
234N/A# and limitations under the License.
234N/A#
234N/A# When distributing Covered Code, include this CDDL HEADER in each
234N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
234N/A# If applicable, add the following below this CDDL HEADER, with the
234N/A# fields enclosed by brackets "[]" replaced with your own identifying
234N/A# information: Portions Copyright [yyyy] [name of copyright owner]
234N/A#
234N/A# CDDL HEADER END
234N/A#
727N/A
234N/A#
234N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
234N/A#
234N/A
234N/Ainclude ../../make-rules/shared-macros.mk
234N/A
234N/ACOMPONENT_NAME= gocr
618N/ACOMPONENT_VERSION= 0.48
234N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
234N/ACOMPONENT_PROJECT_URL= http://jocr.sourceforge.net/
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
234N/A sha256:e0c7b6fc864abfebcb0afa084963fb98f8967b356913e6406cf7b21cfd83d8a2
234N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/jocr/$(COMPONENT_ARCHIVE)
234N/A
234N/Ainclude ../../make-rules/prep.mk
234N/Ainclude ../../make-rules/configure.mk
234N/Ainclude ../../make-rules/ips.mk
234N/A
234N/APKG_PROTO_DIRS += $(COMPONENT_SRC)
234N/A
727N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
727N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
727N/A
234N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
234N/A
234N/A
234N/A# common targets
234N/Abuild: $(BUILD_32)
234N/A
234N/Ainstall: $(INSTALL_32)
234N/A
234N/Atest: $(NO_TESTS)
234N/A
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk