Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/unio/
Date: Sat, 22 Mar 2014 09:45:32
Message-Id: 1395481481.dc0133541c4ec00b2f685e20da4837bb9c3d9e65.jlec@gentoo
1 commit: dc0133541c4ec00b2f685e20da4837bb9c3d9e65
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 21 13:55:37 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 22 09:44:41 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dc013354
7
8 sci-chemistry/unio: Add symlinks for all apps
9
10 Package-Manager: portage-2.2.8-r1
11 RepoMan-Options: --force
12
13 ---
14 sci-chemistry/unio/ChangeLog | 5 +++
15 sci-chemistry/unio/unio-2.0.3-r1.ebuild | 72 +++++++++++++++++++++++++++++++++
16 2 files changed, 77 insertions(+)
17
18 diff --git a/sci-chemistry/unio/ChangeLog b/sci-chemistry/unio/ChangeLog
19 index f198e9c..05ca514 100644
20 --- a/sci-chemistry/unio/ChangeLog
21 +++ b/sci-chemistry/unio/ChangeLog
22 @@ -2,6 +2,11 @@
23 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 +*unio-2.0.3-r1 (21 Mar 2014)
27 +
28 + 21 Mar 2014; Justin Lecher <jlec@g.o> +unio-2.0.3-r1.ebuild:
29 + Add symlinks for all apps
30 +
31 *unio-2.0.3 (16 Jan 2014)
32
33 16 Jan 2014; Justin Lecher <jlec@g.o> +unio-2.0.3.ebuild:
34
35 diff --git a/sci-chemistry/unio/unio-2.0.3-r1.ebuild b/sci-chemistry/unio/unio-2.0.3-r1.ebuild
36 new file mode 100644
37 index 0000000..8ca4d34
38 --- /dev/null
39 +++ b/sci-chemistry/unio/unio-2.0.3-r1.ebuild
40 @@ -0,0 +1,72 @@
41 +# Copyright 1999-2014 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: $
44 +
45 +EAPI=5
46 +
47 +MY_P="UNIO10-Distribution19Dec2013"
48 +
49 +DESCRIPTION="Automated NMR Data Analysis"
50 +HOMEPAGE="http://perso.ens-lyon.fr/torsten.herrmann/Herrmann/Software.html"
51 +#SRC_URI="http://perso.ens-lyon.fr/torsten.herrmann/Academic//Academic_Download_files/${MY_P}.tar.gz"
52 +SRC_URI="${MY_P}.tar.gz"
53 +
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 +LICENSE="unio"
57 +IUSE=""
58 +
59 +RDEPEND="
60 + app-shells/ksh
61 + || (
62 + (
63 + x11-libs/libX11[abi_x86_32]
64 + x11-libs/libXext[abi_x86_32]
65 + )
66 + app-emulation/emul-linux-x86-xlibs
67 + )"
68 +DEPEND=""
69 +
70 +S="${WORKDIR}/UNIO_10"
71 +RESTRICT="fetch"
72 +
73 +QA_PREBUILT="opt/unio/*"
74 +
75 +pkg_nofetch() {
76 + einfo "Please visit ${HOMEPAGE}"
77 + einfo "and fetch ${A}"
78 + einfo "into ${DISTDIR}"
79 +}
80 +
81 +src_install() {
82 + mv Unio\'10 Unio10 || die
83 + mv Unio10/Linux/{Unio\'10,Unio10} || die
84 + rm -rf \
85 + Unio10/MacOSX \
86 + UnioAlgorithms/.DS_Store \
87 + UnioAlgorithms/unio-2.0.2/src/unio/unioexe.Darwin* \
88 + UnioAlgorithms/unio-2.0.2/src/echo/libEcho.a \
89 + UnioAlgorithms/unio-2.0.2/License.pdf || die
90 +
91 + insinto /opt/${PN}
92 + doins -r Unio10 UnioAlgorithms UnioDocumentations
93 + fperms 755 \
94 + /opt/${PN}/Unio10/Linux/Unio10 \
95 + /opt/${PN}/Unio10/Linux/Externals/revzip.so
96 + chmod 755 \
97 + "${ED}"/opt/${PN}/UnioAlgorithms/${PN}-2.0.2/bin/* \
98 + "${ED}"/opt/${PN}/UnioAlgorithms/${PN}-2.0.2/src/${PN}/* || die
99 +
100 + cat >> "${T}/${PN}" <<- EOF
101 + #!${EPREFIX}/bin/bash
102 + cd "${EPREFIX}/opt/${PN}"
103 + exec Unio10/Linux/Unio10 \$@
104 + EOF
105 +
106 + dobin "${T}/${PN}"
107 +
108 + local i
109 + for i in ExecuteMatch ExecuteAtnosCandid ExecuteAtnosAscan; do
110 + dosym ../${PN}/UnioAlgorithms/${PN}-2.0.2/bin/${i} /opt/bin/${i}
111 + done
112 +}