diff options
Diffstat (limited to 'extra/cfitsio/PKGBUILD')
-rw-r--r-- | extra/cfitsio/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/cfitsio/PKGBUILD b/extra/cfitsio/PKGBUILD new file mode 100644 index 000000000..5f1992744 --- /dev/null +++ b/extra/cfitsio/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 127670 2011-06-17 17:20:53Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=cfitsio +pkgver=3.280 +_pkgver=3280 +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') +depends=('glibc') +makedepends=('pkgconfig') +options=('!libtool') +source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${_pkgver}.tar.gz") +md5sums=('fdb9c0f51678b47e78592c70fb5dc793') + +build() { + cd "${srcdir}"/${pkgname} + ./configure --prefix=/usr + make shared +} + +package() { + cd "${srcdir}"/${pkgname} + make DESTDIR="${pkgdir}" install +} |