cfitsio: 3.49 -> 4.0.0
This commit is contained in:
parent
28f111989d
commit
4a6ab3798d
2 changed files with 10 additions and 8 deletions
|
@ -1,18 +1,18 @@
|
|||
diff -ruN cfitsio/configure cfitsio-rpath-universal/configure
|
||||
--- cfitsio/configure 2018-05-09 21:16:00.000000000 +0200
|
||||
+++ cfitsio-rpath-universal/configure 2018-05-31 12:02:25.000000000 +0200
|
||||
@@ -4727,16 +4727,7 @@
|
||||
+++ cfitsio-rpath-universal/configure 2021-10-27 12:02:25.000000000 +0200
|
||||
@@ -4829,16 +4829,7 @@
|
||||
SHLIB_SUFFIX=".dylib"
|
||||
CFITSIO_SHLIB="lib\${PACKAGE}.\${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}\${SHLIB_SUFFIX}"
|
||||
CFITSIO_SHLIB_SONAME="lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX}"
|
||||
- case $host in
|
||||
- *darwin[56789]*)
|
||||
- SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
|
||||
- SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
|
||||
- ;;
|
||||
- *)
|
||||
- # Build 'Universal' binaries (i386 & x86_64 architectures) and
|
||||
- # use rpath token on Darwin 10.x or newer:
|
||||
- SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH -headerpad_max_install_names -install_name @rpath/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
|
||||
- SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH -headerpad_max_install_names -install_name @rpath/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
|
||||
- ;;
|
||||
- esac
|
||||
+ SHLIB_LD="$CC -dynamiclib -install_name ${out}/lib/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ fetchurl, lib, stdenv, bzip2 }:
|
||||
{ stdenv, lib, fetchurl, bzip2, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cfitsio";
|
||||
version = "3.49";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-${version}.tar.gz";
|
||||
sha256 = "1cyl1qksnkl3cq1fzl4dmjvkd6329b57y9iqyv44wjakbh6s4rav";
|
||||
sha256 = "sha256-sqjvugufhtPhvWGfZipHbsGBErTyfMRBzGgKTjd3Ql4=";
|
||||
};
|
||||
|
||||
buildInputs = [ bzip2 ];
|
||||
buildInputs = [ bzip2 zlib ];
|
||||
|
||||
patches = [ ./darwin-rpath-universal.patch ];
|
||||
|
||||
|
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
advanced features for manipulating and filtering the information in
|
||||
FITS files.
|
||||
'';
|
||||
changelog = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.xbreak ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
|
|
Loading…
Reference in a new issue