updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / siftfeat / PKGBUILD
blobb91f063f10f863b87340bd0f3a3d5b2b8db4961d
1 # Maintainer: Juan Diego Tascon
3 pkgname=siftfeat
4 pkgver=1.1.1
5 pkgdate_=20090108
6 pkgrel=2
7 pkgdesc="siftfeat library and utilities"
8 arch=(i686)
9 url="http://web.engr.oregonstate.edu/~hess/index.html"
10 depends=('opencv')
11 makedepends=('doxygen')
12 license="GPL"
13 source=("http://web.engr.oregonstate.edu/~hess/downloads/sift/sift-${pkgver}_${pkgdate_}.tar.gz")
14 md5sums=('87e2f337fe69cb4ee92954cda95969b8')
15 build() {
16         cd ${startdir}/src/sift
17         
18         make || return 1
20         cd lib
21         ar x libfeat.a || return 1
22         gcc -shared *.o -o libfeat.so || return 1
23         cd ..
24         
25         mkdir -p ${pkgdir}/usr/{lib,bin,include} || return 1
26         install -m644 lib/{libfeat.a,libfeat.so} ${pkgdir}/usr/lib/ || return 1
27         install -m644 bin/* ${pkgdir}/usr/bin || return 1
28         install -m644 include/*.h ${pkgdir}/usr/include || return 1