1 |
commit: ee5f8b256e5f23c1b79128e4ffb6dc69b9eba759 |
2 |
Author: Joseph Jon Booker <joe <AT> neoturbine <DOT> net> |
3 |
AuthorDate: Tue Feb 4 04:15:48 2014 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Feb 4 04:15:48 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee5f8b25 |
7 |
|
8 |
sci-astronomy/casapy-bin: Add ebuild for casapy |
9 |
|
10 |
Package-Manager: portage-2.2.8-r1 |
11 |
|
12 |
--- |
13 |
sci-astronomy/casapy-bin/ChangeLog | 9 +++ |
14 |
.../casapy-bin/casapy-bin-4.2.0_pre10_p1.ebuild | 68 ++++++++++++++++++++++ |
15 |
sci-astronomy/casapy-bin/metadata.xml | 6 ++ |
16 |
3 files changed, 83 insertions(+) |
17 |
|
18 |
diff --git a/sci-astronomy/casapy-bin/ChangeLog b/sci-astronomy/casapy-bin/ChangeLog |
19 |
new file mode 100644 |
20 |
index 0000000..fdd7971 |
21 |
--- /dev/null |
22 |
+++ b/sci-astronomy/casapy-bin/ChangeLog |
23 |
@@ -0,0 +1,9 @@ |
24 |
+# ChangeLog for sci-astronomy/casapy-bin |
25 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# $Header: $ |
27 |
+ |
28 |
+*casapy-bin-4.2.0_pre10_p1 (04 Feb 2014) |
29 |
+ |
30 |
+ 04 Feb 2014; Joseph Jon Booker <joe@××××××××××.net> |
31 |
+ +casapy-bin-4.2.0_pre10_p1.ebuild, +metadata.xml: |
32 |
+ sci-astronomy/casapy-bin: Add ebuild for casapy |
33 |
|
34 |
diff --git a/sci-astronomy/casapy-bin/casapy-bin-4.2.0_pre10_p1.ebuild b/sci-astronomy/casapy-bin/casapy-bin-4.2.0_pre10_p1.ebuild |
35 |
new file mode 100644 |
36 |
index 0000000..86f0d14 |
37 |
--- /dev/null |
38 |
+++ b/sci-astronomy/casapy-bin/casapy-bin-4.2.0_pre10_p1.ebuild |
39 |
@@ -0,0 +1,68 @@ |
40 |
+# Copyright 1999-2014 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+# $Header: $ |
43 |
+ |
44 |
+EAPI=5 |
45 |
+inherit versionator |
46 |
+ |
47 |
+DESCRIPTION="Software package to calibrate, image, and analyze radioastronomical data." |
48 |
+HOMEPAGE="http://casa.nrao.edu/" |
49 |
+MY_P=$(version_format_string '${PN%-bin}-$1$2.$3.prerelease-${4#pre}-${5#p}-64b') |
50 |
+SRC_URI="https://svn.cv.nrao.edu/casa/linux_distro/prerelease/${MY_P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="LGPL-2.1+" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64" |
55 |
+IUSE="" |
56 |
+ |
57 |
+DEPEND="" |
58 |
+RDEPEND=" |
59 |
+ app-crypt/mit-krb5 |
60 |
+ dev-db/sqlite |
61 |
+ dev-libs/glib |
62 |
+ dev-libs/icu |
63 |
+ dev-libs/libxslt |
64 |
+ media-libs/alsa-lib |
65 |
+ media-libs/fontconfig |
66 |
+ media-libs/freetype |
67 |
+ media-libs/gst-plugins-base |
68 |
+ media-libs/libjpeg-turbo |
69 |
+ media-libs/mesa |
70 |
+ media-libs/tiff |
71 |
+ sci-libs/gsl |
72 |
+ sci-libs/pgplot |
73 |
+ sys-apps/keyutils |
74 |
+ sys-apps/util-linux |
75 |
+ sys-devel/gcc[fortran] |
76 |
+ virtual/libffi |
77 |
+ x11-libs/libdrm |
78 |
+ x11-libs/libSM |
79 |
+ x11-libs/libXau |
80 |
+ x11-libs/libXcursor |
81 |
+ x11-libs/libXdmcp |
82 |
+ x11-libs/libXi |
83 |
+ x11-libs/libXinerama |
84 |
+ x11-libs/libXrandr |
85 |
+" |
86 |
+ |
87 |
+S="${WORKDIR}/${MY_P}" |
88 |
+QA_PREBUILT="/opt/casapy/* /opt/casapy/sbin/* /opt/casapy/lib64/*" |
89 |
+ |
90 |
+src_compile() { :; } |
91 |
+ |
92 |
+src_install() { |
93 |
+ dodir /opt/ |
94 |
+ cp -R "${S}" "${D}/opt/casapy" || die "Could not copy casapy into ${D}/opt" |
95 |
+ |
96 |
+ dodir /opt/bin |
97 |
+ cd "${D}/opt/casapy/bin" |
98 |
+ for binary in `ls` |
99 |
+ do |
100 |
+ dosym ../casapy/$binary /opt/bin/$binary |
101 |
+ done |
102 |
+} |
103 |
+ |
104 |
+pkg_postinst() { |
105 |
+ einfo "CASA will use media-gfx/graphviz if this package is installed." |
106 |
+ ewarn "Upstream warns that SElinux must be disabled, set to permissive, or configured to allow execheap." |
107 |
+} |
108 |
|
109 |
diff --git a/sci-astronomy/casapy-bin/metadata.xml b/sci-astronomy/casapy-bin/metadata.xml |
110 |
new file mode 100644 |
111 |
index 0000000..6b92b33 |
112 |
--- /dev/null |
113 |
+++ b/sci-astronomy/casapy-bin/metadata.xml |
114 |
@@ -0,0 +1,6 @@ |
115 |
+<?xml version="1.0" encoding="UTF-8"?> |
116 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
117 |
+<pkgmetadata> |
118 |
+ <herd>sci-astronomy</herd> |
119 |
+ <longdescription>CASA, the Common Astronomy Software Applications package, is being developed with the primary goal of supporting the data post-processing needs of the next generation of radio astronomical telescopes such as ALMA and VLA.</longdescription> |
120 |
+</pkgmetadata> |