libreoffice: update to 24.8.4.2
[oi-userland.git] / components / desktop / gocr / Makefile
blob06c2b121b5a203007eb818a6f2f86f895a9a4e68
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 PREFERRED_BITS= 64
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= gocr
31 COMPONENT_VERSION= 0.52
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_PROJECT_URL= http://www-e.uni-magdeburg.de/jschulen/ocr/
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= \
36 sha256:df906463105f5f4273becc2404570f187d4ea52bd5769d33a7a8661a747b8686
37 COMPONENT_ARCHIVE_URL= http://www-e.uni-magdeburg.de/jschulen/ocr/$(COMPONENT_ARCHIVE)
38 COMPONENT_BUGDB= utility/gocr
40 include $(WS_MAKE_RULES)/prep.mk
41 include $(WS_MAKE_RULES)/configure.mk
42 include $(WS_MAKE_RULES)/ips.mk
44 PKG_PROTO_DIRS += $(COMPONENT_SRC)
46 COMPONENT_PRE_CONFIGURE_ACTION = \
47 ($(CLONEY) $(SOURCE_DIR) $(@D))
49 # Needed to successfully link the 64-bit version.
50 CC += $(CC_BITS)
52 ASLR_MODE = $(ASLR_ENABLE)
54 build: $(BUILD_64)
56 install: $(INSTALL_64)
58 test: $(NO_TESTS)
60 # Auto-generated dependencies
61 REQUIRED_PACKAGES += SUNWcs
62 REQUIRED_PACKAGES += system/library