Commit 168aecd4 authored by AlmAck's avatar AlmAck

cfitsio 3450

parent 225e5d2c
Pipeline #1090 passed with stages
in 2 minutes and 21 seconds
# Platform Packages for Chakra, part of chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor: Phil Miller <philm[at]chakra-project[dog]org>
pkgname=cfitsio pkgname=cfitsio
pkgver=3310 pkgver=3450
pkgrel=1 pkgrel=1
pkgdesc="A library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format." pkgdesc="A library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format"
arch=('x86_64') arch=(x86_64)
url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" url="http://heasarc.gsfc.nasa.gov/fitsio/"
license=('GPL2') license=(custom)
depends=('glibc') depends=(curl)
makedepends=('pkgconfig') source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver/./}.tar.gz")
options=('!libtool') sha256sums=('bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e')
source=(ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver}.tar.gz)
md5sums=('75b6411751c7f308d45b281b7beb92d6')
build() { build() {
cd "${srcdir}"/${pkgname} cd $pkgname
./configure --prefix=/usr ./configure --prefix=/usr --enable-reentrant
make shared make shared
make utils
}
check() {
cd $pkgname
LD_LIBRARY_PATH=. ./testprog > testprog.lis
[[ -z $(diff testprog.lis testprog.out) ]] || return 1
[[ -z $(cmp testprog.fit testprog.std) ]] || return 1
} }
package() { package() {
cd "${srcdir}"/${pkgname} cd $pkgname
make DESTDIR="${pkgdir}" install make DESTDIR="$pkgdir" install
install -D -m644 License.txt \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment