core/indilib/PKGBUILD

28 lines
799 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=indilib
2015-09-07 21:23:47 +08:00
pkgver=1.1.0
2015-09-08 03:37:36 +08:00
pkgrel=2
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')
2015-09-07 21:23:47 +08:00
arch=('x86_64')
depends=('zlib' 'libnova' 'libjpeg-turbo' 'gsl')
makedepends=('cmake' 'cfitsio')
source=(http://downloads.sourceforge.net/project/indi/libindi_${pkgver}.tar.gz)
md5sums=('0002e231177e382e1aacd6369044db22')
2010-03-14 23:48:48 +08:00
build() {
2015-09-07 21:23:47 +08:00
cd ${srcdir}
mkdir -p build && cd build
cmake ../libindi_${pkgver} \
2010-03-14 23:48:48 +08:00
-DCMAKE_BUILD_TYPE=Release \
2015-09-08 03:37:36 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
2015-09-07 21:23:47 +08:00
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
2010-03-14 23:48:48 +08:00
}