summaryrefslogtreecommitdiffstats
path: root/extra/hugin/Pkgfile
blob: 91e96167910e855ea2a639602f8c1f74644149db (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
# 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


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 -j3
	make DESTDIR=$PKG install
}