PKGBUILDs/extra/indilib/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
858 B
Bash

# $Id: PKGBUILD 27702 2009-02-24 22:33:08Z pierre $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=indilib
pkgver=0.6
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')
makedepends=('pkgconfig' 'cmake')
source=(http://downloads.sourceforge.net/sourceforge/indi/libindi0_$pkgver.tar.gz)
options=(!libtool)
md5sums=('49218ad15a40dfa8a2366a2694477595')
build() {
cd $srcdir
mkdir build
cd build
cmake ../libindi0-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install
}