updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / vxl / PKGBUILD
blobe0e0f88f0dbdff2d5d82755de07eb99acdac7091
1 # Contributor: Viaken <Viaken@Gmail.com>
2 pkgname=vxl
3 pkgver=1.14.0
4 pkgrel=2
5 pkgdesc="A set of libraries related to computer vision"
6 arch=('i686' 'x86_64')
7 url="http://vxl.sourceforge.net"
8 license=('custom:BSD')
9 makedepends=('cmake')
10 conflicts=('vxl-svn')
11 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/1.14/$pkgname-$pkgver.zip")
12 md5sums=('0329521f2fda61d2835e7b3c7c1189df')
14 build() {
15   cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DCMAKE_CXX_FLAGS="$CXXFLAGS" -DCMAKE_C_FLAGS="$CFLAGS" "$srcdir/$pkgname-$pkgver"
17   make || return 1
18   make DESTDIR="$pkgdir/" install
20   install -Dm644 $srcdir/$pkgname-$pkgver/core/vxl_copyright.h $pkgdir/usr/share/licenses/$pkgname/vxl_copyright.h
23 # vim:set ts=2 sw=2 et: