diff options
author | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
commit | a1922d0ec660fdc1892f2783515f781c090df0a9 (patch) | |
tree | 6d38a09231ff439c051261d41bfa066870e1fccb /staging/autopano-sift-c | |
parent | eefecc8813e0c062a2058b33209cb30830f824b6 (diff) |
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'staging/autopano-sift-c')
-rw-r--r-- | staging/autopano-sift-c/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/staging/autopano-sift-c/PKGBUILD b/staging/autopano-sift-c/PKGBUILD new file mode 100644 index 000000000..35f76e38a --- /dev/null +++ b/staging/autopano-sift-c/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 146969 2012-01-19 19:16:11Z eric $ +# 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=3 +pkgdesc="Identify key feature points within arbitrary images" +arch=('i686' 'x86_64') +url="http://hugin.sourceforge.net/" +license=('GPL2') +depends=('libxml2' 'libpano13' 'gcc-libs') +makedepends=('cmake') +provides=('autopano-sift') +conflicts=('autopano-sift') +replaces=('autopano-sift') +source=(http://downloads.sourceforge.net/sourceforge/hugin/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 +} |