summaryrefslogtreecommitdiffstats
path: root/nomacs/Pkgfile
blob: 04d328beee8415a2091514df1f9b69142d090310 (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
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
}