diff options
author | Henry Gebhardt <hsggebhardt@googlemail.com> | 2010-01-24 21:34:52 +0100 |
---|---|---|
committer | Henry Gebhardt <hsggebhardt@googlemail.com> | 2010-01-24 21:34:52 +0100 |
commit | ec62d426f3275c3408ce2e71dfe38e5114fa6289 (patch) | |
tree | 9f458820199a200278614cc793f700b606e09be2 | |
parent | sci-astronomy/ftools-6.8: Version bump (diff) | |
download | kork-ec62d426f3275c3408ce2e71dfe38e5114fa6289.tar.gz kork-ec62d426f3275c3408ce2e71dfe38e5114fa6289.tar.bz2 kork-ec62d426f3275c3408ce2e71dfe38e5114fa6289.zip |
sci-astronomy/fpipe-9999: Find cfitsio version from heasoft
-rw-r--r-- | sci-astronomy/fpipe/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/fpipe/fpipe-9999.ebuild | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sci-astronomy/fpipe/Manifest b/sci-astronomy/fpipe/Manifest index 25e1ef6..a5d3f8a 100644 --- a/sci-astronomy/fpipe/Manifest +++ b/sci-astronomy/fpipe/Manifest @@ -1 +1 @@ -EBUILD fpipe-9999.ebuild 1430 RMD160 887eac9d1e99f9ce232b9890785545f2ea2e9f72 SHA1 f5f335182aba3982722d734092e58b8cc69b3cff SHA256 d39aa801dfa236311627dc408efa57b68a438f50419c5685716dd84a235dd561 +EBUILD fpipe-9999.ebuild 1839 RMD160 4cdb3f75e49e13aeb404a72fe8a8db573a3dc45e SHA1 dfe90a15783addbbf77fdb9da332bbba79ddbda2 SHA256 01c566b6bdf4fb060305c1eada52335cf3d5d1872ef11216ebc93d29998e67d9 diff --git a/sci-astronomy/fpipe/fpipe-9999.ebuild b/sci-astronomy/fpipe/fpipe-9999.ebuild index 57746e0..cc7779f 100644 --- a/sci-astronomy/fpipe/fpipe-9999.ebuild +++ b/sci-astronomy/fpipe/fpipe-9999.ebuild @@ -28,6 +28,14 @@ pkg_setup() { src_prepare() { cd software + # Get the cfitsio version HEASOFT is using. Alternatively, we could just + # depend on sci-libs/cfitsio and be done. But let's take what HEASOFT gives + # us. + local CFITSIO_VERSION="`ls "${HEADAS}"/lib/libcfitsio*.so`" + CFITSIO_VERSION="`basename "${CFITSIO_VERSION}" .so`" + CFITSIO_VERSION="${CFITSIO_VERSION##libcfitsio_}" + sed -i -e "/ffopen/s:cfitsio:cfitsio cfitsio_${CFITSIO_VERSION}:" \ + configure.ac ./bootstrap.sh } |