diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 21:24:08 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 21:24:08 -0300 |
commit | 96c65d8a0393645808ab5ea31776baa26209fc5f (patch) | |
tree | 23a4b88cc7130b5c0af6fb1cd0ca32625857e155 /extra/autopano-sift-c/PKGBUILD | |
parent | 02cd5c40b37e2e6ebe56f5f89f9e8ab85c02be59 (diff) | |
parent | b07a9cd02c59fb33fb249aee0de79b45d4b96fbb (diff) |
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'extra/autopano-sift-c/PKGBUILD')
-rw-r--r-- | extra/autopano-sift-c/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/autopano-sift-c/PKGBUILD b/extra/autopano-sift-c/PKGBUILD index 69a9432f2..c908de4ce 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' 'mips64el') 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 } |