1 |
commit: 079e9f3f8e7c40da207b8a8020f9ff5b908d4cae |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 23 09:57:13 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 23 09:57:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079e9f3f |
7 |
|
8 |
sci-astronomy/idlastro: Copy instead of symlinking |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-astronomy/idlastro/idlastro-20161220.ebuild | 32 ++++++++++++++++++++++++- |
14 |
1 file changed, 31 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sci-astronomy/idlastro/idlastro-20161220.ebuild b/sci-astronomy/idlastro/idlastro-20161220.ebuild |
17 |
index 307bca8..e3dabdb 120000 |
18 |
--- a/sci-astronomy/idlastro/idlastro-20161220.ebuild |
19 |
+++ b/sci-astronomy/idlastro/idlastro-20161220.ebuild |
20 |
@@ -1 +1,31 @@ |
21 |
-idlastro-99999999.ebuild |
22 |
\ No newline at end of file |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+if [[ ${PV} != 99999999 ]]; then |
30 |
+ SRC_URI="http://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz -> ${P}.tar.gz" |
31 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
32 |
+ S="${WORKDIR}" |
33 |
+else |
34 |
+ inherit git-r3 |
35 |
+ GIT_ECLASS="git-r3" |
36 |
+ EGIT_REPO_URI=( "git://github.com/wlandsman/IDLAstro.git" ) |
37 |
+ KEYWORDS="" |
38 |
+fi |
39 |
+ |
40 |
+DESCRIPTION="Astronomical user routines for IDL" |
41 |
+HOMEPAGE="http://idlastro.gsfc.nasa.gov/" |
42 |
+ |
43 |
+LICENSE="BSD-2 BSD" |
44 |
+SLOT="0" |
45 |
+IUSE="" |
46 |
+DEPEND="" |
47 |
+RDEPEND="dev-lang/gdl" |
48 |
+ |
49 |
+src_install() { |
50 |
+ insinto /usr/share/gnudatalanguage/${PN} |
51 |
+ doins -r pro/* |
52 |
+ dodoc *txt text/* |
53 |
+} |