Makefile revision 1258
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER START
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# The contents of this file are subject to the terms of the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Common Development and Distribution License (the "License").
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You may not use this file except in compliance with the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# or http://www.opensolaris.org/os/licensing.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# See the License for the specific language governing permissions
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# and limitations under the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# When distributing Covered Code, include this CDDL HEADER in each
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# If applicable, add the following below this CDDL HEADER, with the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# fields enclosed by brackets "[]" replaced with your own identifying
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# information: Portions Copyright [yyyy] [name of copyright owner]
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER END
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
dd566498928f08e7c9a79797a40db893c6a4b9fbvn#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
f808c858fa61e7769218966759510a8b1190dfcfrafinclude ../../make-rules/shared-macros.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_NAME= gocr
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_VERSION= 0.48
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_PROJECT_URL= http://jocr.sourceforge.net/
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
74a31ce69a88d851777ca840d31ec610ce9ecab3timhCOMPONENT_ARCHIVE_HASH= \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi sha256:e0c7b6fc864abfebcb0afa084963fb98f8967b356913e6406cf7b21cfd83d8a2
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/jocr/$(COMPONENT_ARCHIVE)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_BUGDB= utility/gocr
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude ../../make-rules/prep.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude ../../make-rules/configure.mk
0eb822a1c0c2bea495647510b75f77f0e57633ebcindiinclude ../../make-rules/ips.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiPKG_PROTO_DIRS += $(COMPONENT_SRC)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_PRE_CONFIGURE_ACTION = \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi ($(CLONEY) $(SOURCE_DIR) $(@D))
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# common targets
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindibuild: $(BUILD_32)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinstall: $(INSTALL_32)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecinditest: $(NO_TESTS)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude ../../make-rules/depend.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi