blob: 8958d8e5aa787cfc6b6eed78897f21c5159cb091 (
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
|
# Description: Computer vision library
# URL: https://ukoethe.github.io/vigra/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: openexr zlib libpng libjpeg-turbo libtiff
name=vigra
version=1.11.1
release=2
source=("https://github.com/ukoethe/${name}/releases/download/Version-${version//./-}/${name}-${version}-src.tar.gz")
build() {
cd "${SRC}"/${name}-${version}
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DWITH_OPENEXR=true \
-DWITH_VIGRANUMPY=1 \
-DDOCINSTALL=share/doc
make
make DESTDIR="${PKG}" install
rm -rf "${PKG}/usr/share/doc"
rmdir "${PKG}/usr/share"
}
|