diff options
Diffstat (limited to 'nomacs/Pkgfile')
-rw-r--r-- | nomacs/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nomacs/Pkgfile b/nomacs/Pkgfile new file mode 100644 index 000000000..04d328bee --- /dev/null +++ b/nomacs/Pkgfile @@ -0,0 +1,26 @@ +# Description: Visionneuse d'image légère basée sur QT +# URL: http://www.nomacs.org/ +# Packager: emmanuel at grognet dot fr +# Maintainer: http://sourceforge.net/projects/nomacs/ +# Depends on: qt,exiv2,libraw,opencv +# Run on: qt,exiv2,libraw,opencv + +name=nomacs +version=0.3.2 +release=1 +source=(http://downloads.sourceforge.net/project/nomacs/nomacs-$version/nomacs-$version-source.zip) +build () +{ +mkdir bld +cd bld + +cmake .. -DCMAKE_INSTALL_PREFIX=/usr + +sed -i "s|$| $(pkg-config --libs opencv)|" \ + `find . -name link.txt` + +make + +make DESTDIR="$PKG/" install +} + |