commit:     dc0133541c4ec00b2f685e20da4837bb9c3d9e65
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 13:55:37 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 09:44:41 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dc013354

sci-chemistry/unio: Add symlinks for all apps

Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force

---
 sci-chemistry/unio/ChangeLog            |  5 +++
 sci-chemistry/unio/unio-2.0.3-r1.ebuild | 72 +++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/sci-chemistry/unio/ChangeLog b/sci-chemistry/unio/ChangeLog
index f198e9c..05ca514 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 <j...@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 <j...@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 0000000..8ca4d34
--- /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
+}

Reply via email to