mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 17:47:13 +08:00
22 lines
711 B
Bash
22 lines
711 B
Bash
|
# $Id: PKGBUILD 66693 2010-02-01 11:26:09Z giovanni $
|
||
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||
|
|
||
|
pkgname=cfitsio
|
||
|
pkgver=3240
|
||
|
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')
|
||
|
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=('ba34e71562ed381a238678daffb116fb')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install || return 1
|
||
|
}
|