core/autopano-sift-c/PKGBUILD
Samir 348d542db8 libpng group: update/rebuild platform
will commit them separately next time... it's just too much work to do separate commits right now
2013-07-27 16:51:03 +00:00

32 lines
825 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=autopano-sift-c
pkgver=2.5.1
pkgrel=4
pkgdesc="Identify key feature points within arbitrary images"
arch=('x86_64')
url="http://hugin.sourceforge.net/"
license=('GPL2')
depends=('libxml2' 'libpano13>=2.9.17' 'gcc-libs' 'libpng' 'libtiff')
makedepends=('cmake')
source=("http://sourceforge.net/projects/hugin/files/autopano-sift-C/autopano-sift-C-2.5.1/autopano-sift-C-${pkgver}.tar.gz")
md5sums=('b9bade07e8c4f2ea383c22a082c260e0')
build() {
cd "${srcdir}/autopano-sift-C-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
sed -i 's/-lz/-lz -lm/' CMakeFiles/{autopano,generatekeys}.dir/link.txt
make
}
package() {
cd "${srcdir}/autopano-sift-C-${pkgver}"
make DESTDIR=${pkgdir} install
}