aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
commit76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch)
tree94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-astronomy/skymaker
parentmove stuff to root (diff)
downloadsci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-astronomy/skymaker')
-rw-r--r--sci-astronomy/skymaker/ChangeLog7
-rw-r--r--sci-astronomy/skymaker/Manifest4
-rw-r--r--sci-astronomy/skymaker/metadata.xml12
-rw-r--r--sci-astronomy/skymaker/skymaker-3.1.0.ebuild36
4 files changed, 59 insertions, 0 deletions
diff --git a/sci-astronomy/skymaker/ChangeLog b/sci-astronomy/skymaker/ChangeLog
new file mode 100644
index 000000000..189a83a4d
--- /dev/null
+++ b/sci-astronomy/skymaker/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sci-astronomy/skymaker
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Apr 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> ChangeLog:
+ Initial import
+
diff --git a/sci-astronomy/skymaker/Manifest b/sci-astronomy/skymaker/Manifest
new file mode 100644
index 000000000..193f9ca25
--- /dev/null
+++ b/sci-astronomy/skymaker/Manifest
@@ -0,0 +1,4 @@
+DIST skymaker-3.1.0.tar.gz 409089 RMD160 f40c969fc4de0f42240f381c003bc365f121f5cc SHA1 21c230ee2c2ebe0cf881be0efa1e701641e480fc SHA256 a61fbd31e3eb7bc1387018d6d1eb719503215d23027fa8919d8bbe4e805ab5e4
+EBUILD skymaker-3.1.0.ebuild 853 RMD160 4a7567b16a863f72dfa1a137b764a92c645babb7 SHA1 2ea54b5f22893595b82135bc9de5a6a69489a70e SHA256 fd3b8a674f8ad7d616f7f3231774ac1e40c3c2536f305025f5de8801ef6ac60f
+MISC ChangeLog 207 RMD160 a006be2e6d1baa2998c22d252d2330b9aa568985 SHA1 a351147734a8997886dfa5ba68e265c70e532118 SHA256 d69f4c4f847cf80cf62b68fc87e2369401e334ce9f2a61d5edd313b5f3dab209
+MISC metadata.xml 522 RMD160 82a2f56adf45447226214d63b733d5ee59a7a28f SHA1 f3fd9b95737eec4ac3bb5d7103b6237b21089d20 SHA256 d86351847a40cd61b3b7da6a9794b11a34de5192952dcb849d91cbc442b05646
diff --git a/sci-astronomy/skymaker/metadata.xml b/sci-astronomy/skymaker/metadata.xml
new file mode 100644
index 000000000..caa0b0596
--- /dev/null
+++ b/sci-astronomy/skymaker/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+SkyMaker is a program that simulates astronomical images. It accepts
+object lists in ASCII generated by the Stuff program to produce
+realistic astronomical fields. There are various options for the user:
+build a realistic Point Spread Function, generate a list of stars and
+galaxies. Galaxies are modeled analytically.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-astronomy/skymaker/skymaker-3.1.0.ebuild b/sci-astronomy/skymaker/skymaker-3.1.0.ebuild
new file mode 100644
index 000000000..5054b7e51
--- /dev/null
+++ b/sci-astronomy/skymaker/skymaker-3.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Program that simulates astronomical images"
+HOMEPAGE="http://terapix.iap.fr/soft/skymaker"
+SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="threads mpi"
+RESTRICT="test"
+
+DEPEND=">=sci-libs/fftw-3
+ mpi? ( virtual/mpi )"
+
+# mpi stuff untested.
+src_compile() {
+ use mpi || export MPICC="$(tc-getCC)"
+ local myconf
+ # --disable-threads is buggy
+ use threads && myconf="--enable-threads"
+ econf \
+ $(use_enable mpi) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS
+}