From: Nicolas Thill Date: Sun, 6 Nov 2011 20:32:39 +0000 (+0000) Subject: packages/tesseract: fix CR/LF line endings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=393c9edece414e80f70c90f98f4e1545504a4b18;p=openwrt%2Fsvn-archive%2Farchive.git packages/tesseract: fix CR/LF line endings SVN-Revision: 28787 --- diff --git a/utils/tesseract/Makefile b/utils/tesseract/Makefile index 347c9124c4..bd99117c69 100644 --- a/utils/tesseract/Makefile +++ b/utils/tesseract/Makefile @@ -1,52 +1,52 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=tesseract -PKG_VERSION:=3.01 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://tesseract-ocr.googlecode.com/files/ -PKG_MD5SUM:=1ba496e51a42358fb9d3ffe781b2d20a - -PKG_FIXUP:=libtool -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/tesseract - SECTION:=utils - CATEGORY:=Utilities - TITLE:=Tesseract Open Source OCR Engine - URL:=http://tesseract-ocr.googlecode.com/ - DEPENDS:=+libleptonica +libpthread +libstdcpp -endef - -CONFIGURE_ARGS += \ - LIBLEPT_HEADERSDIR="$(STAGING_DIR)/usr/include" \ - -TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/tesseract $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtesseract.{a,so*} $(1)/usr/lib/ -endef - -define Package/tesseract/install - $(INSTALL_DIR) $(1)/usr/bin - $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/share - $(CP) $(PKG_INSTALL_DIR)/usr/share/* $(1)/usr/share/ -endef - -$(eval $(call BuildPackage,tesseract)) +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=tesseract +PKG_VERSION:=3.01 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://tesseract-ocr.googlecode.com/files/ +PKG_MD5SUM:=1ba496e51a42358fb9d3ffe781b2d20a + +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/tesseract + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Tesseract Open Source OCR Engine + URL:=http://tesseract-ocr.googlecode.com/ + DEPENDS:=+libleptonica +libpthread +libstdcpp +endef + +CONFIGURE_ARGS += \ + LIBLEPT_HEADERSDIR="$(STAGING_DIR)/usr/include" \ + +TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/tesseract $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtesseract.{a,so*} $(1)/usr/lib/ +endef + +define Package/tesseract/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/share + $(CP) $(PKG_INSTALL_DIR)/usr/share/* $(1)/usr/share/ +endef + +$(eval $(call BuildPackage,tesseract))