desktop/indilib/PKGBUILD

33 lines
1.0 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
2011-07-23 02:02:15 +08:00
# Chakra Packages for Chakra, part of chakra-project.org
2013-12-18 02:36:04 +08:00
2013-12-18 02:41:12 +08:00
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
2011-07-23 02:02:15 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2011-07-23 02:02:15 +08:00
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
make
2011-07-23 02:02:15 +08:00
make DESTDIR=$pkgdir install
}