mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
openCV: Add library openCV2.4.10
[Etienne CHAMPETIER: compile tested for ar71xx] Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> Signed-off-by: Jialei Hao <schumy@wrtnode.com>
This commit is contained in:
committed by
Etienne CHAMPETIER
parent
1b5d9a6fb3
commit
b4e860f622
@@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2013-2014 wrtnode.com
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=opencv
|
||||||
|
PKG_VERSION:=2.4.10
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
||||||
|
PKG_SOURCE_URL:=http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.10/
|
||||||
|
PKG_MD5SUM:=ec63952d3a3dff965d5fdde765926821
|
||||||
|
|
||||||
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
|
||||||
|
|
||||||
|
define Package/opencv/Default/description
|
||||||
|
OpenCV (Open Source Computer Vision Library) is an open source computer
|
||||||
|
vision and machine learning software library. OpenCV was built to provide
|
||||||
|
a common infrastructure for computer vision applications and to accelerate
|
||||||
|
the use of machine perception in the commercial products. Being a
|
||||||
|
BSD-licensed product, OpenCV makes it easy for businesses to utilize
|
||||||
|
and modify the code.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/opencv
|
||||||
|
SECTION:=libs
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
TITLE:=opencv-2.4.10
|
||||||
|
URL:=http://opencv.org/
|
||||||
|
MAINTAINER:=WRTnode Team <pub@wrtnode.com>
|
||||||
|
DEPENDS:=+libpthread +librt +libstdcpp +zlib +libjpeg
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
CMAKE_OPTIONS += -DBUILD_opencv_gpu:BOOL=OFF \
|
||||||
|
-DWITH_1394:BOOL=OFF -DBUILD_opencv_stitching:BOOL=OFF \
|
||||||
|
-DBUILD_opencv_superres:BOOL=OFF -DBUILD_opencv_ts:BOOL=OFF
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/opencv $(1)/usr/include/
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/opencv2 $(1)/usr/include/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencv* $(1)/usr/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/opencv/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencv* $(1)/usr/lib/
|
||||||
|
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,opencv))
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
Introduction
|
||||||
|
===
|
||||||
|
|
||||||
|
#### OpenCV: Open Source Computer Vision Library.OpenCV is based on (open source) issued cross-platform computer vision library, you can run on Linux, Windows and Mac OS operating systems.
|
||||||
|
|
||||||
|
#### Resources
|
||||||
|
|
||||||
|
* Homepage: <http://opencv.org>
|
||||||
|
* Docs: <http://docs.opencv.org>
|
||||||
|
* Q&A forum: <http://answers.opencv.org>
|
||||||
|
* Issue tracking: <http://code.opencv.org>
|
||||||
|
|
||||||
|
#### Contributing
|
||||||
|
|
||||||
|
Please read before starting work on a pull request: <http://code.opencv.org/projects/opencv/wiki/How_to_contribute>
|
||||||
|
|
||||||
|
Summary of guidelines:
|
||||||
|
|
||||||
|
* One pull request per issue;
|
||||||
|
* Choose the right base branch;
|
||||||
|
* Include tests and documentation;
|
||||||
|
* Clean up "oops" commits before submitting;
|
||||||
|
* Follow the coding style guide.
|
||||||
Reference in New Issue
Block a user