blob: b06bb39a855dd72828ff7fbb32cb5c943ee814bf (
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
27
28
29
|
# Description: Utilitaires pour la realisation de panorama
# URL: http://hugin.sourceforge.net/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: wxgtk, libpano13, boost, enblend-enfuse, exiv2, openexr, autopano-sift-c, lapack, desktop-file-utils, p5-exiftool
# Run on:
name=hugin
version=2010.0.0
release=1
source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz
libpng14.patch)
build() {
cd $SRC
patch -Np0 -i libpng14.patch
mkdir build
cd build
cmake "$SRC/$name-$version" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_EXE_LINKER_FLAGS="-lpthread" \
-DENABLE_LAPACK=yes
make
make DESTDIR=$PKG install
}
|