core/indilib/PKGBUILD

27 lines
865 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 62103 2010-01-02 09:17:22Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=indilib
pkgver=0.6
pkgrel=2
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')
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
}