diff options
author | Henry Gebhardt <hsggebhardt@gmail.com> | 2014-02-10 23:39:56 -0500 |
---|---|---|
committer | Henry Gebhardt <hsggebhardt@gmail.com> | 2014-02-10 23:39:56 -0500 |
commit | 9ce09683801cc5f6643cb96019ac012f96a5d16e (patch) | |
tree | c1ca5dc75e5a2e229f1f72a4050adef015d3550d | |
parent | metadata/layout.conf: use thin manifests, since we are on git (diff) | |
download | kork-9ce09683801cc5f6643cb96019ac012f96a5d16e.tar.gz kork-9ce09683801cc5f6643cb96019ac012f96a5d16e.tar.bz2 kork-9ce09683801cc5f6643cb96019ac012f96a5d16e.zip |
sci-astronomy/ftools-6.15.1: version bump
-rw-r--r-- | sci-astronomy/ftools/Manifest | 15 | ||||
-rw-r--r-- | sci-astronomy/ftools/ftools-6.15.1.ebuild | 100 |
2 files changed, 105 insertions, 10 deletions
diff --git a/sci-astronomy/ftools/Manifest b/sci-astronomy/ftools/Manifest index 07ada5f..896e66d 100644 --- a/sci-astronomy/ftools/Manifest +++ b/sci-astronomy/ftools/Manifest @@ -1,10 +1,5 @@ -AUX installManPage-S-namecollision.patch 786 RMD160 82f9911c5922d02f9f0870c19b960ae17b670ad1 SHA1 3e38468fda1e1b8c17a60ae1f9e27b266958aa72 SHA256 27bd0f77c7ddaa96cac057f2e2c690188059858e6e6fe495336556fb7c5ece31 -DIST heasoft-6.10src.tar.gz 65094690 RMD160 ce22802a22fe0273a0d7c56b617436ee709af565 SHA1 21d4bb5c8fc0730c87114da11ba67edcfd82d77d SHA256 1e5d5439803e9b8c744784362e614fc7c8a6fb47b3430ea1edf23a5610b2fb0e -DIST heasoft-6.11src.tar.gz 68732833 RMD160 aaad614d9ae68f535408db1c2fba199578274856 SHA1 e941edf6c626c57b974da0079d726f8a282d4c89 SHA256 2b93448846303d2d1b4cf9c509798a68e5cc40bf324d6d60e52e3bc62d5423b9 -DIST heasoft-6.12src.tar.gz 68051931 RMD160 9758aa0a35aaff79f075eb5e27eca7197441007f SHA1 f41d8902cb915761a61bfcd1a2dfb51fbfe8351e SHA256 49bd31d1c2d18ddf7164afb8490189c96118b764ad33e9eeadbdda5737e6fcd8 -DIST heasoft6.9src.tar.gz 64709171 RMD160 e70eade8c125c47ed10bb83e1bb21fb7f3f5e229 SHA1 4c8b51f9a3a528d89065a0967bb6e0dc5f25ea30 SHA256 83df06147dc772441427c888c3c7c9d810486aad9a45208586bba56baf160ab4 -EBUILD ftools-6.10.ebuild 3120 RMD160 b6fcee4134ad430cbc39e3f3ed9f902acbaaba4f SHA1 823503f9cf61d16523d9663d8ce28fd74217564f SHA256 243a6d99485a6635d0d6ca525a3ba1bc938276562d220aa4ad8593717a84b956 -EBUILD ftools-6.11.ebuild 3120 RMD160 bbb01e185b5ee6ac5f04816c5f208b4f0a497fd9 SHA1 5bd73fc5fe4feddb11bf89a6b0553ec07ae2bd70 SHA256 ac9dc9b3735ad131d79efcac83748e666bef5105b60d3abbb6fdd204e5a9a39d -EBUILD ftools-6.12.ebuild 3120 RMD160 bbb01e185b5ee6ac5f04816c5f208b4f0a497fd9 SHA1 5bd73fc5fe4feddb11bf89a6b0553ec07ae2bd70 SHA256 ac9dc9b3735ad131d79efcac83748e666bef5105b60d3abbb6fdd204e5a9a39d -EBUILD ftools-6.9-r1.ebuild 2967 RMD160 de5922fdb1c535b3bb760241ae35151606a5a111 SHA1 4ee04aea9c8e4f2d58329b800e67ddb4c9e770fa SHA256 8adba16987ad76a43e8a63efd2592b8b716599a205da9f0cf3a3a3977be4dd89 -EBUILD ftools-6.9.ebuild 2251 RMD160 b08369c20cb0901c9a64e5478a37bd6ff9f1fcaa SHA1 6d809585a4d172b93deca0d833a1984b34bd206a SHA256 7e2671f0bf9d91bfc2b9c6fd2939449a092dbfa60ac05d0d2a99ab30c018dd50 +DIST heasoft-6.10src.tar.gz 65094690 SHA256 1e5d5439803e9b8c744784362e614fc7c8a6fb47b3430ea1edf23a5610b2fb0e +DIST heasoft-6.11src.tar.gz 68732833 SHA256 2b93448846303d2d1b4cf9c509798a68e5cc40bf324d6d60e52e3bc62d5423b9 +DIST heasoft-6.12src.tar.gz 68051931 SHA256 49bd31d1c2d18ddf7164afb8490189c96118b764ad33e9eeadbdda5737e6fcd8 +DIST heasoft-6.15.1src.tar.gz 76907843 SHA256 6861a62a861b341cbecf6c67d7301dcc4bf5bc8db9204d07b27048460fc4c69e SHA512 633ac803ea298fd1ceace1a9919050acfd57a0ebee1238ce77de187ff29a1313d09d87eb546e07bb07b0057ad1eb54f6d62b0808e2e4e363264f695a2a238139 WHIRLPOOL 79cd6c5ca663cceb9bd6904517fc5ebfaeb7e900d22e84f040596bddaacbc1a2e09bb9459b94614b3b7e4a70ea00d7345380a6ceadb51907e82d473e8a7b0848 +DIST heasoft6.9src.tar.gz 64709171 SHA256 83df06147dc772441427c888c3c7c9d810486aad9a45208586bba56baf160ab4 diff --git a/sci-astronomy/ftools/ftools-6.15.1.ebuild b/sci-astronomy/ftools/ftools-6.15.1.ebuild new file mode 100644 index 0000000..19a793e --- /dev/null +++ b/sci-astronomy/ftools/ftools-6.15.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="General-Use FTools for manipulating and inspecting FITS files" +HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/ftools/ftools_menu.html" +SRC_URI="http://localhost/heasoft-${PV}src.tar.gz" +LICENSE="UNKOWN freedist as-is GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RESTRICT="test" + +DEPEND="x11-base/xorg-server + >=dev-lang/perl-5.6.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/heasoft-${PV}/BUILD_DIR" +PREFIX="${ROOT}/usr/heasoft-${PVR}" + +MSG="The HEASOFT General-Use FTools have been installed into +${PREFIX}. + +To use the HEASOFT, you need to source the headas init script, +like so + . \${HEADAS}/headas-init.sh +if you are using a bourne-shell. As a shortcut you can put an +alias in your ~/.bashrc: + alias heainit=\". \${HEADAS}/headas-init.sh\" + +C-shells should source \${HEADAS}/headas-init.csh instead. + +The environment variable \${HEADAS} has been defined for you +globally in /etc/env.d/99headas." + +pkg_setup() { + [[ -d "${PREFIX}" ]] && die "Please unmerge previous installation." + ewarn "This ebuild works but doesn't do things as god intended..." + einfo "PREFIX=${PREFIX}" +} + +src_prepare() { + cd "${S}"/../ftools/guis/xdf + sed -i '27iClientData Tk_MainWindow (Tcl_Interp *) ;' xdfShared.c || die +} + +src_configure() { + econf --prefix="${PREFIX}" || die "econf failed" +} + +src_compile() { + # -j1 and -j2 are ok, but -j3 is not. + emake -j2 || die "emake failed" +} + +src_install() { + # The heasoft install scripts don't allow for $DESTDIR. Thus we + # must let headas install itself. This is very, very bad. + addwrite "${PREFIX}" + einfo "Installing into ${PREFIX} directly..." + # -j1 is needed, don't know why exactly + emake -j1 install || die "emake install failed" + einfo "Moving ${PREFIX} to image directory..." + D_PREFIX_DIR="${D}/${PREFIX%/*}" + mkdir -p "${D_PREFIX_DIR}" || die "Failed to create image directory" + mv "${PREFIX}" "${D_PREFIX_DIR}" || die "Failed to move to image directory" + + echo "${MSG}" > WTF + dodoc WTF + + HEADAS=`grep "HD_TOP_EXEC_PFX.*= " Makefile \ + | sed "s#^HD_TOP_EXEC_PFX.*= ##"` + echo "HEADAS=\"${HEADAS}\"" > 99headas + doenvd 99headas + + DHEADAS="${D}/${HEADAS}" + + einfo "Heasoft's installation is a mess. A revdep-rebuild control " + einfo "file is installed for ape and cfitsio, so that any dependencies " + einfo "won't scream everytime you run revdep-rebuild." + ape_so="`ls "${DHEADAS}"/lib/libape_*.so`" + ape_so="${ape_so##*/}" + cfitsio_so="`ls "${DHEADAS}"/lib/libcfitsio_*.so`" + cfitsio_so="${cfitsio_so##*/}" + echo "# Heasoft's installation is a mess." > 70-heasoft + echo "# This file makes it slightly less annoying for other" >> 70-heasoft + echo "# packages using its libraries." >> 70-heasoft + echo >> 70-heasoft + echo "LD_LIBRARY_MASK=\"${ape_so} ${cfitsio_so}\"" >> 70-heasoft + insinto /etc/revdep-rebuild/ + doins 70-heasoft +} + +pkg_postinst() { + elog "${MSG}" +} |