summaryrefslogtreecommitdiff
path: root/repo/vigra/vigra.xibuild
blob: 5b304f2178c82aa12555bf62951e2a0eb72cf56b (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.1
SOURCE="https://github.com/ukoethe/vigra"

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
}