summaryrefslogtreecommitdiffstats
path: root/extra/opencv/Pkgfile
blob: 1cc7a9432c779084c21cd2a6bc59f986c93b16ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: librairie de vision en temps réel
# URL: http://opencv.willowgarage.com/wiki/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libjpeg, libtiff, jasper, libpng, zlib, ffmpeg, gstreamer, xine-lib, libdc1394

name=opencv
version=1.1pre1
release=1
source=(http://ovh.dl.sourceforge.net/sourceforge/opencvlibrary/$name-$version.tar.gz\
	opencv-1.0.0-gcc44.patch)

build() {
	cd $name-1.1.0
	patch -Np1 -i ../opencv-1.0.0-gcc44.patch
	./configure --prefix=/usr
	make -j3
	make DESTDIR=$PKG install
}