diff options
Diffstat (limited to 'extra/hugin/Pkgfile')
-rwxr-xr-x | extra/hugin/Pkgfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/hugin/Pkgfile b/extra/hugin/Pkgfile new file mode 100755 index 000000000..91e961679 --- /dev/null +++ b/extra/hugin/Pkgfile @@ -0,0 +1,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 +} + |