summaryrefslogtreecommitdiff
path: root/extra/autopano-sift-c/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/autopano-sift-c/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/autopano-sift-c/PKGBUILD')
-rw-r--r--extra/autopano-sift-c/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/autopano-sift-c/PKGBUILD b/extra/autopano-sift-c/PKGBUILD
index 35a5d7fdc..f3708cb4a 100644
--- a/extra/autopano-sift-c/PKGBUILD
+++ b/extra/autopano-sift-c/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 96768 2010-10-24 16:49:43Z ibiru $
+# $Id: PKGBUILD 148678 2012-02-05 11:46:36Z ibiru $
# Maintainer: Tobias Kieslich <tobias@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=autopano-sift-c
pkgver=2.5.1
-pkgrel=2
+pkgrel=3
pkgdesc="Identify key feature points within arbitrary images"
arch=('i686' 'x86_64')
url="http://hugin.sourceforge.net/"
license=('GPL2')
-depends=('libxml2' 'libpano13>=2.9.17' 'gcc-libs')
+depends=('libxml2' 'libpano13' 'gcc-libs')
makedepends=('cmake')
provides=('autopano-sift')
conflicts=('autopano-sift')
@@ -20,8 +20,12 @@ 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
- make DESTDIR=${pkgdir} install
+}
+
+package() {
+ cd "${srcdir}/autopano-sift-C-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}