summaryrefslogtreecommitdiffstats
path: root/nomacs/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2012-06-05 01:11:21 +0200
committerpiernov <piernov@piernov.org>2012-06-17 18:17:48 +0200
commitbf3aa52d5158e04c3fb34617d93108ea4912907f (patch)
tree9f9f4fcee32b99ed217eee70cc556308ca54b470 /nomacs/Pkgfile
parent50a5e54824c298a91f1d145e99f553a32bfa940d (diff)
downloadnutyx-extra-bf3aa52d5158e04c3fb34617d93108ea4912907f.tar.gz
nutyx-extra-bf3aa52d5158e04c3fb34617d93108ea4912907f.tar.bz2
nutyx-extra-bf3aa52d5158e04c3fb34617d93108ea4912907f.tar.xz
nutyx-extra-bf3aa52d5158e04c3fb34617d93108ea4912907f.zip
nomacs, nouveau port
(cherry picked from commit d594e2b2b8c002d49414bcd6a289d5c55f1808b6)
Diffstat (limited to 'nomacs/Pkgfile')
-rw-r--r--nomacs/Pkgfile26
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
+}
+