summaryrefslogtreecommitdiff
path: root/extra/cfitsio/PKGBUILD
blob: e15426633c4e93444a4958b31cf9dfb3d1f0e579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 117363 2011-03-31 21:07:25Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=cfitsio
pkgver=3.270
_pkgver=3270
pkgrel=1
pkgdesc="A library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format"
arch=('i686' 'x86_64' 'mips64el')
url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
license=('GPL2')
makedepends=('pkgconfig')
options=('!libtool')
source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${_pkgver}.tar.gz")
md5sums=('2a72b323de3f40ad1a671f2167500336')

build() {
  cd ${srcdir}/${pkgname}
  ./configure --prefix=/usr
  make shared
}

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