desktop/indilib/PKGBUILD
2013-12-17 18:41:12 +00:00

33 lines
1.0 KiB
Bash

# Chakra Packages for Chakra, part of chakra-project.org
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
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
}