mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/cfitsio: Updated for version 3.28.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
1adfa3e1c0
commit
169eee141e
3 changed files with 23 additions and 7 deletions
|
@ -4,3 +4,10 @@ is also included for the convenience of Fortran programmers.
|
|||
|
||||
The documentation directory contains a comprehensive API reference
|
||||
guide and instructions on using cfistio in Fortran programs.
|
||||
|
||||
If you wish to build the library with the --enable-reentrant option,
|
||||
run the SlackBuild script like this:
|
||||
REENTRANT=yes ./cfitsio.SlackBuild
|
||||
|
||||
This option is disabled by default because some legacy software will
|
||||
not link against reentrant libcfitsio.
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
# Written by Dominik Drobek <dominik.drobek (at) o2.pl>
|
||||
|
||||
PRGNAM=cfitsio
|
||||
VERSION=${VERSION:-3.27}
|
||||
VERSION=${VERSION:-3.28}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
FVER=3270
|
||||
FVER=3280
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -37,6 +37,15 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# --enable-reentrant is disabled by default, as it causes problems with legacy software
|
||||
REENTRANT=${REENTRANT:-no}
|
||||
|
||||
if [ "$REENTRANT" = "no" ]; then
|
||||
USE_REENTRANT="--disable-reentrant"
|
||||
else
|
||||
USE_REENTRANT="--enable-reentrant"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -60,7 +69,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-reentrant \
|
||||
${USE_REENTRANT} \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
# Apparently --libdir is ignored
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="cfitsio"
|
||||
VERSION="3.27"
|
||||
VERSION="3.28"
|
||||
HOMEPAGE="http://heasarc.gsfc.nasa.gov/fitsio/"
|
||||
DOWNLOAD="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3270.tar.gz"
|
||||
MD5SUM="2a72b323de3f40ad1a671f2167500336"
|
||||
DOWNLOAD="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3280.tar.gz"
|
||||
MD5SUM="fdb9c0f51678b47e78592c70fb5dc793"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Dominik Drobek"
|
||||
EMAIL="dominik.drobek@o2.pl"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue