summaryrefslogtreecommitdiffstats
path: root/extra/vigra/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vigra/Pkgfile')
-rw-r--r--extra/vigra/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/vigra/Pkgfile b/extra/vigra/Pkgfile
new file mode 100644
index 000000000..aa2fd743e
--- /dev/null
+++ b/extra/vigra/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Computer vision library
+# URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: libpng, libtiff, gcc-libs, sh
+
+name=vigra
+version=1.7.0
+release=1
+source=(http://hci.iwr.uni-heidelberg.de/$name/$name-$version-src.tar.gz
+ libpng-1.4.patch)
+
+
+build() {
+ cd $name-$version-src
+ patch -p1 < $SRC/libpng-1.4.patch
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_VIGRANUMPY=1 \
+ -DDOCINSTALL=share/doc
+ make
+ make DESTDIR=$PKG install
+ install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
+}
+