blob: c5869e611c401bd702abf19b7b750230566165cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: josedavim <josedtascon@gmail.com>
# Maintainer: Danilo Bargen <mail at dbrgn dot ch>
pkgname=siftgpu
pkgver=0.5.400
pkgrel=9
pkgdesc="Sift Features over GPU using GLSL or CUDA"
arch=('i686' 'x86_64')
url="http://ccwu.me/"
license=('custom')
depends=('glew>=1.8' 'freeglut>=2.7' 'devil>=1.7')
optdepends=('opencl-nvidia')
makedepends=('git' 'cuda')
source=("${pkgname}::git+https://github.com/pitzer/SiftGPU"
'makefile-cuda.patch'
)
sha256sums=('SKIP'
'5d5cd327bf156f91f81ea6ce3d5d2a7ab99f8e1df705007ac6126fb75c13cbdb')
prepare() {
cd ${srcdir}/${pkgname}
git apply ${srcdir}/makefile-cuda.patch
}
build() {
cd ${srcdir}/${pkgname}
make -j1
}
package ()
{
cd ${srcdir}/${pkgname}
install -Dm755 -t ${pkgdir}/usr/lib ./bin/libsiftgpu.so
install -Dm755 -t ${pkgdir}/usr/include ./src/SiftGPU/SiftGPU.h
install -Dm644 ./license.txt "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
}
# vim:set ts=2 sw=2 et:
|