Makefile revision 3885
295N/A#
295N/A# CDDL HEADER START
295N/A#
295N/A# The contents of this file are subject to the terms of the
295N/A# Common Development and Distribution License (the "License").
295N/A# You may not use this file except in compliance with the License.
295N/A#
295N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
295N/A# or http://www.opensolaris.org/os/licensing.
295N/A# See the License for the specific language governing permissions
295N/A# and limitations under the License.
295N/A#
295N/A# When distributing Covered Code, include this CDDL HEADER in each
295N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
295N/A# If applicable, add the following below this CDDL HEADER, with the
295N/A# fields enclosed by brackets "[]" replaced with your own identifying
295N/A# information: Portions Copyright [yyyy] [name of copyright owner]
295N/A#
295N/A# CDDL HEADER END
295N/A#
295N/A
295N/A#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
295N/A#
295N/A
295N/Ainclude ../../make-rules/shared-macros.mk
295N/A
295N/ACOMPONENT_NAME= gocr
3885N/ACOMPONENT_VERSION= 0.50
295N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
295N/ACOMPONENT_PROJECT_URL= http://jocr.sourceforge.net/
295N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
3885N/A sha256:bc261244f887419cba6d962ec1ad58eefd77176885093c4a43061e7fd565f5b5
1485N/ACOMPONENT_ARCHIVE_URL= http://www-e.uni-magdeburg.de/jschulen/ocr/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gocr
295N/A
3885N/ATPNO= 21551
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
295N/A
295N/APKG_PROTO_DIRS += $(COMPONENT_SRC)
295N/A
295N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
295N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
295N/A
295N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
295N/A
1485N/A# Needed to successfully link the 64-bit version.
1485N/ACC += $(CC_BITS)
1485N/A
1485N/AASLR_MODE = $(ASLR_ENABLE)
295N/A
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
1485N/Abuild: $(BUILD_64)
295N/A
1485N/Ainstall: $(INSTALL_64)
295N/A
295N/Atest: $(NO_TESTS)
295N/A
295N/A
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library
3817N/AREQUIRED_PACKAGES += system/library/math