summaryrefslogtreecommitdiff
path: root/sci-astronomy/esomidas
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-astronomy/esomidas
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-astronomy/esomidas')
-rw-r--r--sci-astronomy/esomidas/Manifest1
-rw-r--r--sci-astronomy/esomidas/esomidas-17.02.ebuild134
2 files changed, 0 insertions, 135 deletions
diff --git a/sci-astronomy/esomidas/Manifest b/sci-astronomy/esomidas/Manifest
index a82fc740c6eb..b091e5e9c67e 100644
--- a/sci-astronomy/esomidas/Manifest
+++ b/sci-astronomy/esomidas/Manifest
@@ -3,5 +3,4 @@ AUX esomidas-17.02-output_to_stdout.patch 1276 BLAKE2B c2e7daa65375ea6775afb0fe4
AUX esomidas-17.02-rpc.patch 1300 BLAKE2B 14ba1ba6a4387aac7704c9893863b2983bd5f8f18bcbeaa93dd735d80af66bceb624c6ce0bdae49f2e85a7a38e41ea5edf88f3b165bbf742a4fbebba4e40b323 SHA512 5ecc989ef8f1ed6c1aa586088f1d1e880020f2ff134d21162563c66c3cc631ebf6deb3b3dfc7ebe0901385e548981df907264ad1b49a7638dd4e5917d40e2c7f
DIST esomidas-17.02.tar.gz 60771186 BLAKE2B 75e184d61ab2ec9eb30ea83c35feea329bd4dec9afa04b68bc7be22ef0f88d1d0aa0e4a79c1111ce57846e042b26ef394374c9db2d12547dfa481d75e06deadf SHA512 7e4c6a8d8349a9e1647e48571bf5e04abd239c24020ffdf5984a0598b837061ca7765e31209869a4e302e1f85c3494852a22541149c10cc916376048e40b6324
EBUILD esomidas-17.02-r1.ebuild 4385 BLAKE2B 752aa29841bce58bba1b84bacda55eaef1c3f614d920710c0bd14204f7590a9c73269e41d85d58e6c73aca46e4b695654a4a2a26bece61ad386fe6a151289a26 SHA512 02f37170fb111d44d27df9cb17d959394246ebefae8640874696cfad947ec0abb56e92a8cbe0a4e4f6b60e0e2cd8ab7a6a892ec0515ec37e1de01d53c35e8464
-EBUILD esomidas-17.02.ebuild 4079 BLAKE2B ceafa755120f8849afe14941ac0c7fd609e62a5f2b2fe13066032f6b7b4b2be2aac2ed859cd059cf2bf83cc55296fba1c841af59c1b24876728f7d63915beaa9 SHA512 e46706c68b972a350c7da7e3dfb54d5345537d73bc52d0d198fb1fb335560e26c37242763c82e1f0f8d1aab8a316dbcb985a729e6e8dd685446ddee144f7d12e
MISC metadata.xml 804 BLAKE2B d6e2b4791d91989eca7d61e0ec1c7622bcc51236d4e45c5862bd182cae0d4d2bbc8ad0b4b0f0b37764d9cca7f057d1b7b30ad1d947b665d923246c87ffb882d7 SHA512 4fc8d19a3890666740112c29c01a63e0b766bff7fe73fa677b3066228e23e0eec1fa94cb02c0327a60aa17b163bf6c58cdee123b189d6bfa1bb51565aa4821a4
diff --git a/sci-astronomy/esomidas/esomidas-17.02.ebuild b/sci-astronomy/esomidas/esomidas-17.02.ebuild
deleted file mode 100644
index acaa2eb1c23a..000000000000
--- a/sci-astronomy/esomidas/esomidas-17.02.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils fortran-2 toolchain-funcs flag-o-matic
-
-# MIDVERS is actually used by MIDAS configuration scripts
-export MIDVERS="17FEBpl1.2"
-
-DESCRIPTION="European Southern Observatory Munich Image Data Analysis System"
-HOMEPAGE="http://www.eso.org/projects/esomidas/"
-SRC_URI="ftp://ftp.eso.org/pub/midaspub/17FEB/sources/${MIDVERS}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/8"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-RDEPEND="
- sys-libs/readline:0=
- x11-libs/motif:0=
- x11-libs/libX11:=
- x11-libs/libXt:="
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MIDVERS}"
-
-PATCHES=(
- "${FILESDIR}/${P}-output_to_stdout.patch"
- "${FILESDIR}/${P}-gentoo-setup.patch"
-)
-
-src_prepare() {
- default
- # variables for all phases and midas internal build system
- export MIDASHOME="${WORKDIR}"
- export MID_HOME="${S}"
- export MID_HOME0="/usr/$(get_libdir)/esomidas/${MIDVERS}"
- export MID_INSTALL="${MID_HOME}/install/unix"
- export MID_SYS="${MID_HOME}/system/unix/"
- export MID_WORK="${MIDASHOME}/midwork"
-
- # create a gentoo option file
- mkdir ${MID_INSTALL}/systems/Gentoo || die
- cat >> ${MID_INSTALL}/systems/Gentoo/make_options <<-EOF
- CC=$(tc-getCC)
- LDCC=$(tc-getCC)
- F77=$(tc-getFC)
- FC=$(tc-getFC)
- LD77_CMD=$(tc-getFC)
- AR=$(tc-getAR)
- RANLIB=$(tc-getRANLIB)
- F_OPT=
- C_OPT=
- E_OPT=$(use amd64 && echo -Z)
- SYS=
- SH_OPT=-fPIC
- SH_CMD=${MIDASHOME}/${MIDVERS}/local/make_shared
- GUI_OPT=-DPATH_MAX=1024
- STRIP=echo
- EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H
- EDITLIBS=-lreadline
- UIMX=uimxR5
- INSTALL_FLAG=auto
- EOF
- sed -e "s|gcc|$(tc-getCC) \${LDFLAGS}|" \
- ${MID_INSTALL}/systems/Linux/make_shared \
- > ${MID_INSTALL}/systems/Gentoo/make_shared || die
- sed -e 's|PC/Linux|Gentoo|' \
- ${MID_INSTALL}/systems/Linux/setup \
- > ${MID_INSTALL}/systems/Gentoo/setup || die
-
- # gentoo readline avoids exporting the xmalloc,xrealloc and xfree
- append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
-}
-
-src_configure() {
- ${MID_INSTALL}/select all || die "packages selection failed"
- ${MID_INSTALL}/preinstall -a || die "preinstallation failed"
- ${MID_INSTALL}/install2 || die "configuration failed"
- chmod 755 ${MID_HOME}/local/make_shared
-}
-
-src_compile() {
- CMND_YES=2 ${MID_INSTALL}/install3 -a || die "compilation failed"
- [[ -x ${MID_HOME}/monit/midasgo.exe ]] || die "somewhere compilation failed"
- emake -C monit syskeys.unix
- ${MID_SYS}/inmidas -m ${MID_WORK} -j "@ compile.all"
- ${MID_SYS}/inmidas -m ${MID_WORK} -j "@ ascii_bin no ; bye"
-}
-
-src_test() {
- local test_dir="${WORKDIR}/test_tmp"
- mkdir ${test_dir} && cd ${test_dir}
- ${MID_SYS}/inmidas -m ${MID_WORK} -j "@ vericopy ; @@ veriall -nodisplay ; bye" || die
- test -f ${MID_WORK}/veriall_* || die "tests failed somewhere"
- rm -rf ${test_dir}
-}
-
-src_install() {
- yes | ${MID_SYS}/cleanmidas
- find ${MID_HOME} \( \
- -name "*.a" -o \
- -name "makefile" -o \
- -name "default.mk" -o \
- -name "*.h" -o \
- -name "*.inc" -o \
- -name COPYING -o \
- -name "*~" -o \
- -name "*.mod" \) -delete
- rm -rf ${MID_HOME}/libsrc/ftoc*
- find ${MID_HOME} -type d -empty -delete
-
- sed -e "s:^MIDVERS0=.*:MIDVERS0=${MIDVERS}:" \
- -e "s:^MIDASHOME0=.*:MIDASHOME0=/usr/$(get_libdir)/esomidas:" \
- -i ${MID_HOME}/system/unix/{inmidas,helpmidas,drs}
-
- cd "${WORKDIR}"
- dodir /usr/$(get_libdir)/esomidas
- mv "${S}" "${ED}"${MID_HOME0}
- chmod 0644 "${ED}"${MID_HOME0}/contrib/baches/*/*.fit \
- "${ED}"${MID_HOME0}/contrib/baches/*/*.fmt \
- "${ED}"${MID_HOME0}/contrib/baches/*/*.datorg \
- "${ED}"${MID_HOME0}/contrib/baches/*/*.prg \
- "${ED}"${MID_HOME0}/contrib/baches/*/*.README
- find "${ED}"${MID_HOME0} -name \*.sh | xargs chmod 0755
- chmod 0755 "${ED}"${MID_HOME0}/util/bench/brun
-
- dosym ${MID_HOME0}/system/unix/inmidas /usr/bin/inmidas
- dosym ${MID_HOME0}/system/unix/gomidas /usr/bin/gomidas
- dosym ${MID_HOME0}/system/ftoc-new ${MID_HOME0}/system/good-ftoc
-}