diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-03-21 14:55:37 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-03-22 10:44:41 +0100 |
commit | dc0133541c4ec00b2f685e20da4837bb9c3d9e65 (patch) | |
tree | 6750010168aefcec9f059560dcc43b1e56bba7d6 /sci-chemistry/unio | |
parent | sci-biology/khmer: Drop nose requirement during build (diff) | |
download | sci-dc0133541c4ec00b2f685e20da4837bb9c3d9e65.tar.gz sci-dc0133541c4ec00b2f685e20da4837bb9c3d9e65.tar.bz2 sci-dc0133541c4ec00b2f685e20da4837bb9c3d9e65.zip |
sci-chemistry/unio: Add symlinks for all apps
Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
Diffstat (limited to 'sci-chemistry/unio')
-rw-r--r-- | sci-chemistry/unio/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/unio/unio-2.0.3-r1.ebuild | 72 |
2 files changed, 77 insertions, 0 deletions
diff --git a/sci-chemistry/unio/ChangeLog b/sci-chemistry/unio/ChangeLog index f198e9c0b..05ca5142c 100644 --- a/sci-chemistry/unio/ChangeLog +++ b/sci-chemistry/unio/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*unio-2.0.3-r1 (21 Mar 2014) + + 21 Mar 2014; Justin Lecher <jlec@gentoo.org> +unio-2.0.3-r1.ebuild: + Add symlinks for all apps + *unio-2.0.3 (16 Jan 2014) 16 Jan 2014; Justin Lecher <jlec@gentoo.org> +unio-2.0.3.ebuild: diff --git a/sci-chemistry/unio/unio-2.0.3-r1.ebuild b/sci-chemistry/unio/unio-2.0.3-r1.ebuild new file mode 100644 index 000000000..8ca4d34db --- /dev/null +++ b/sci-chemistry/unio/unio-2.0.3-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +MY_P="UNIO10-Distribution19Dec2013" + +DESCRIPTION="Automated NMR Data Analysis" +HOMEPAGE="http://perso.ens-lyon.fr/torsten.herrmann/Herrmann/Software.html" +#SRC_URI="http://perso.ens-lyon.fr/torsten.herrmann/Academic//Academic_Download_files/${MY_P}.tar.gz" +SRC_URI="${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="unio" +IUSE="" + +RDEPEND=" + app-shells/ksh + || ( + ( + x11-libs/libX11[abi_x86_32] + x11-libs/libXext[abi_x86_32] + ) + app-emulation/emul-linux-x86-xlibs + )" +DEPEND="" + +S="${WORKDIR}/UNIO_10" +RESTRICT="fetch" + +QA_PREBUILT="opt/unio/*" + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}" + einfo "and fetch ${A}" + einfo "into ${DISTDIR}" +} + +src_install() { + mv Unio\'10 Unio10 || die + mv Unio10/Linux/{Unio\'10,Unio10} || die + rm -rf \ + Unio10/MacOSX \ + UnioAlgorithms/.DS_Store \ + UnioAlgorithms/unio-2.0.2/src/unio/unioexe.Darwin* \ + UnioAlgorithms/unio-2.0.2/src/echo/libEcho.a \ + UnioAlgorithms/unio-2.0.2/License.pdf || die + + insinto /opt/${PN} + doins -r Unio10 UnioAlgorithms UnioDocumentations + fperms 755 \ + /opt/${PN}/Unio10/Linux/Unio10 \ + /opt/${PN}/Unio10/Linux/Externals/revzip.so + chmod 755 \ + "${ED}"/opt/${PN}/UnioAlgorithms/${PN}-2.0.2/bin/* \ + "${ED}"/opt/${PN}/UnioAlgorithms/${PN}-2.0.2/src/${PN}/* || die + + cat >> "${T}/${PN}" <<- EOF + #!${EPREFIX}/bin/bash + cd "${EPREFIX}/opt/${PN}" + exec Unio10/Linux/Unio10 \$@ + EOF + + dobin "${T}/${PN}" + + local i + for i in ExecuteMatch ExecuteAtnosCandid ExecuteAtnosAscan; do + dosym ../${PN}/UnioAlgorithms/${PN}-2.0.2/bin/${i} /opt/bin/${i} + done +} |