summaryrefslogtreecommitdiff
path: root/repo/vigra/vigra.xibuild
blob: 3138d22d46484985b49bda5263e6ae7cb3289e65 (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
#!/bin/sh

NAME="vigra"
DESC="An image processing and analysis library"

MAKEDEPS=" tiff libjpeg-turbo libpng boost cmake doxygen"

PKG_VER=1.11.267
SOURCE="https://github.com/ukoethe/vigra.git"

build() {
	cmake . \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DDOCINSTALL=share/doc
	make
}

package() {
	make install DESTDIR="$PKG_DEST"

	mkdir -p "$PKG_DEST"/usr/lib/cmake
	mv "$PKG_DEST"/usr/lib/vigra "$PKG_DEST"/usr/lib/cmake
}