desktop/indilib/PKGBUILD
2011-07-22 18:02:15 +00:00

33 lines
1.0 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=indilib
pkgver=0.8
pkgrel=1
pkgdesc="INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc)."
url="http://indi.sourceforge.net/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('gcc-libs' 'zlib' 'libnova>=0.13.0')
makedepends=('pkgconfig' 'cmake' 'cfitsio')
source=(http://downloads.sourceforge.net/project/indi/indilib/${pkgver}/libindi_$pkgver.tar.gz)
options=(!libtool)
md5sums=('ca2b7c56431eb5e08218929e5eb72150')
build() {
cd $srcdir
mkdir -p build
cd build
cmake ../libindi-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install
}