summaryrefslogtreecommitdiff
path: root/repo/vigra/vigra.xibuild
blob: 0fd1c60ae62e09d994efc9cb69677caf59e9ad67 (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"

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
}