Skip to content

Commit

Permalink
adding kstars deps cfitsio 3.350, libindi 0.9.6, libnova 0.14.0 (0.15…
Browse files Browse the repository at this point in the history
….0 clashes with libtool), wcslib 4.18 to the repo
  • Loading branch information
KdeOs committed Aug 3, 2013
1 parent 632a6e3 commit baa5cb7
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 9 deletions.
27 changes: 27 additions & 0 deletions cfitsio/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

pkgname=cfitsio
pkgver=3.350
pkgrel=1
pkgdesc="Library for reading and writing data files in FITS (Flexible Image Transport System) data format."
arch=('x86_64')
url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
license=('GPL2')
depends=('glibc')
makedepends=('pkgconfig')
options=('!libtool')
source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver/./}.tar.gz")
md5sums=('b8c6307c21e178174b61000af5406757')

build() {
cd "${srcdir}"/${pkgname}

./configure --prefix=/usr
make shared
}

package() {
cd "${srcdir}"/${pkgname}
make DESTDIR="${pkgdir}" install

install -D -m644 License.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
31 changes: 31 additions & 0 deletions libindi/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

pkgname=libindi
pkgver=0.9.6
pkgrel=1
pkgdesc="Interface control protocol providing backend driver support and
automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc)."
url="http://indi.sourceforge.net/"
license=('GPL2')
arch=('x86_64')
depends=('gcc-libs' 'zlib' 'libnova' 'cfitsio' 'libusb-compat' 'boost-libs')
makedepends=('boost' 'cmake')
source=("http://sourceforge.net/projects/indi/files/indilib/0.9/${pkgname}_${pkgver}.tar.gz")
options=('!libtool')
md5sums=('c1456544a36f543e2884f88913cf3eb0')

build() {
cd $srcdir
mkdir -p build

cd build
cmake ../libindi-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}

package() {
cd $srcdir/build

make DESTDIR=$pkgdir install
}
23 changes: 14 additions & 9 deletions libnova/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# $Id: PKGBUILD 62101 2010-01-02 09:15:25Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libnova
pkgver=0.13.0
pkgver=0.14.0
pkgrel=1
pkgdesc="libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
pkgdesc="General purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
url="http://libnova.sourceforge.net/"
license=('GPL2')
arch=('i686' 'x86_64')
arch=('x86_64')
depends=('glibc')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz)
options=(!libtool)
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz")
md5sums=('e81a00efedfa3043cd6018383e8a0438')

build() {
cd $srcdir/$pkgname-$pkgver

./configure --prefix=/usr
make || return 1
make
}

package() {
cd $srcdir/$pkgname-$pkgver

make DESTDIR=$pkgdir/ install
}
md5sums=('32f67b1ae28372582da7fe4e6f554dcd')

28 changes: 28 additions & 0 deletions wcslib/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

pkgname=wcslib
pkgver=4.18
pkgrel=1
pkgdesc="FITS World Coordinate System (WCS) standard defines keywords and usage that provide for the description of astronomical coordinate systems."
arch=('x86_64')
url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/"
license=('GPL3')
depends=('cfitsio')
makedepends=('gcc-fortran')
source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2")
md5sums=('0bac51eb52d560683fda3847fe89cdeb')

build() {
cd $pkgname-$pkgver

./configure --prefix=/usr --without-pgplot
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install

chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}}
}

0 comments on commit baa5cb7

Please sign in to comment.