2010-06-07 20:59:24 +08:00
#
# 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
2010-03-14 23:48:48 +08:00
pkgname = indilib
2010-06-07 20:59:24 +08:00
pkgver = 0.6.1
_ver = 61
pkgrel = 1
2010-03-14 23:48:48 +08:00
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' )
2010-06-07 20:59:24 +08:00
source = ( http://downloads.sourceforge.net/sourceforge/indi/libindi0_$_ver .tar.gz)
2010-03-14 23:48:48 +08:00
options = ( !libtool)
2010-06-07 20:59:24 +08:00
md5sums = ( '005e6ae3bc6fc1eeb5aa7700a65e2584' )
2010-03-14 23:48:48 +08:00
build( ) {
cd $srcdir
mkdir build
cd build
2010-06-07 20:59:24 +08:00
cmake ../libindi \
2010-03-14 23:48:48 +08:00
-DCMAKE_BUILD_TYPE= Release \
-DCMAKE_INSTALL_PREFIX= /usr || return 1
make || return 1
make DESTDIR = $pkgdir install
}