summaryrefslogtreecommitdiff
path: root/repo/vigra/vigra.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/vigra/vigra.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/vigra/vigra.xibuild')
-rw-r--r--repo/vigra/vigra.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/vigra/vigra.xibuild b/repo/vigra/vigra.xibuild
new file mode 100644
index 0000000..5b304f2
--- /dev/null
+++ b/repo/vigra/vigra.xibuild
@@ -0,0 +1,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
+}
+