aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <sebfabbro@gmail.com>2010-11-18 00:06:32 +0000
committerSébastien Fabbro <sebfabbro@gmail.com>2010-11-18 00:06:32 +0000
commite92bbf1c473b3a4931da4ffd249903bc28040a9a (patch)
tree64bb8758d610ebb36e5eb2f14c99a5438fc093f0 /sci-astronomy
parentsci-astronomy/psfex: Initial import (diff)
downloadsci-e92bbf1c473b3a4931da4ffd249903bc28040a9a.tar.gz
sci-e92bbf1c473b3a4931da4ffd249903bc28040a9a.tar.bz2
sci-e92bbf1c473b3a4931da4ffd249903bc28040a9a.zip
added missfits
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/missfits/ChangeLog10
-rw-r--r--sci-astronomy/missfits/Manifest5
-rw-r--r--sci-astronomy/missfits/files/missfits-2.4.0-configure.patch108
-rw-r--r--sci-astronomy/missfits/metadata.xml16
-rw-r--r--sci-astronomy/missfits/missfits-2.4.0.ebuild32
-rw-r--r--sci-astronomy/weightwatcher/ChangeLog7
6 files changed, 178 insertions, 0 deletions
diff --git a/sci-astronomy/missfits/ChangeLog b/sci-astronomy/missfits/ChangeLog
new file mode 100644
index 000000000..be0a06fb0
--- /dev/null
+++ b/sci-astronomy/missfits/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-astronomy/missfits
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*missfits-2.4.0 (18 Nov 2010)
+
+ 18 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +missfits-2.4.0.ebuild,
+ +files/missfits-2.4.0-configure.patch, +metadata.xml:
+ Initial import
+
diff --git a/sci-astronomy/missfits/Manifest b/sci-astronomy/missfits/Manifest
new file mode 100644
index 000000000..64c28807b
--- /dev/null
+++ b/sci-astronomy/missfits/Manifest
@@ -0,0 +1,5 @@
+AUX missfits-2.4.0-configure.patch 3223 RMD160 7a3da312bf067a655202624cc1e156666b25dfd5 SHA1 a2652ebb1ad4e799308fbebadd47a70765a55d94 SHA256 57d8c51435573043c35b532e779f8f67eee54d8f17e63cb9fd3b892d7153fa35
+DIST missfits-2.4.0.tar.gz 381606 RMD160 0cc4e7aa2d27607c5137e424581dc173ab692bcb SHA1 f2ff6fa889bcab66fffa3210a7d179b5f1d0b641 SHA256 40cd9de9d539ac95d34c108afa0ade4b26475adf4772a95ee42b0f9ab6edaf21
+EBUILD missfits-2.4.0.ebuild 851 RMD160 c59aee8c7d741cf37df62935259427301d8a7be1 SHA1 4acd3cb235fa73ec2d8974e40f4863dffefa16d7 SHA256 ae82c035800bc8f06e916dd5346787e73f7375f54f5466afd504d7a7bd8935f1
+MISC ChangeLog 307 RMD160 5bb0694d4a94cc0bcebc26913cc7e162bc3d735f SHA1 dbce0224932ff301488e7320010f80b7cf30420e SHA256 9ad3b334e8e711d90f1e8b5b8eca95a1591da4538cbe71d7fad66e01729dbc12
+MISC metadata.xml 665 RMD160 24b25af62924fef76691b176c6a39a4c6e728f02 SHA1 0d3c8fc603cb07359d885486273e0dc077c0d02a SHA256 5b9a3023094ce5da8f5787ab3aac15f728d466b0ac29c23ae22fab5f187a49bf
diff --git a/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch b/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch
new file mode 100644
index 000000000..1e8eb4900
--- /dev/null
+++ b/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch
@@ -0,0 +1,108 @@
+--- configure.ac.orig 2010-11-17 23:51:53.000000000 +0000
++++ configure.ac 2010-11-17 23:54:58.000000000 +0000
+@@ -20,51 +20,18 @@
+ AC_SUBST(DATE3, "$date3")
+
+ # Include macros
+-sinclude(acx_prog_cc_optim.m4)
+ sinclude(acx_urbi_resolve_dir.m4)
+
+ # Display pakage and version number
+ AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
+
+-# Initialize the list of compilers to consider
+-cclist="cc gcc"
+-
+-# Provide special option for choosing automatically the compilation flags.
+-AC_MSG_CHECKING([if compilation flags are set automatically])
+-AC_ARG_ENABLE(auto-flags,
+- [AC_HELP_STRING([--enable-auto-flags],
+- [Let the configure script choose the compilation flags \
+-(off by default)])],
+- use_autoflag="yes"
+- AC_MSG_RESULT([yes]),
+- use_autoflag="no"
+- AC_MSG_RESULT([no]))
+-
+-# Provide special option for the Linux Intel C compiler
+-AC_MSG_CHECKING([for Linux Intel C compiler mode])
+-AC_ARG_ENABLE(icc,
+- [AC_HELP_STRING([--enable-icc],
+- [Enable special mode for compilation with the Intel compiler \
+-(off by default)])],
+- use_icc="yes"
+- cclist="icc $cclist"
+- AC_MSG_RESULT([yes]),
+- use_icc="no"
+- AC_MSG_RESULT([no]))
+-
+ # Checks for programs.
+ # GCC is chosen last because it is likely to yield less optimized code
+-AC_PROG_CC([$cclist])
++AC_PROG_CC
+ # C Compiler: Check that it is ANSI C
+ AM_PROG_CC_STDC
+ # C Compiler: Check that it is POSIX-compliant
+ AC_ISC_POSIX
+-# Override automatic CFLAGS and LDFLAGS with those of user
+-if test "$use_autoflag" = "yes"; then
+- CFLAGS=""
+- LDFLAGS =""
+- ACX_PROG_CC_OPTIM
+-fi
+ AC_PROG_RANLIB
+ AC_PROG_INSTALL
+
+@@ -75,7 +42,7 @@
+ # Checks for header files.
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h sys/mman.h])
+-if test $use_icc = "yes" -a $CC = "icc"; then
++if test $CC = "icc"; then
+ AC_CHECK_HEADERS(mathimf.h)
+ fi
+
+@@ -115,43 +82,6 @@
+
+ AC_DEFINE_UNQUOTED([XSL_URL], "$xsl_url",[Default URL of the XSLT filter])
+
+-# Provide special option for gprof profiling
+-AC_MSG_CHECKING([for gprof profiler mode])
+-AC_ARG_ENABLE(gprof,
+- [AC_HELP_STRING([--enable-gprof],
+- [Enable special mode for compilation with the gprof profiler \
+-(off by default)])],
+- use_gprof="yes"
+- AC_MSG_RESULT([yes]),
+- use_gprof="no"
+- AC_MSG_RESULT([no]))
+-
+-# Enable linking options for making the executable as portable as possible.
+-AC_MSG_CHECKING([best linking option])
+-AC_ARG_ENABLE(best-link,
+- [AC_HELP_STRING([--enable-best-link],
+- [Choose the right combination of static and dynamic linking to make \
+-the executable as portable as possible (off by default)])],
+- use_best="yes"
+- AC_MSG_RESULT([yes]),
+- use_best="no"
+- AC_MSG_RESULT([no]))
+-
+-# Link with gprof option
+-if test "$use_gprof" = "yes"; then
+- if test "$use_icc" = "yes"; then
+- AM_CFLAGS="$AM_CFLAGS -pq"
+- else
+- AM_CFLAGS="$AM_CFLAGS -pg"
+- fi
+- use_best="no"
+-fi
+-
+-# "Best" linking option
+-if test "$use_best" = "yes"; then
+- AM_LDFLAGS="-shared-libgcc -static-libtool-libs $AM_LDFLAGS"
+-fi
+-
+ # Display compiler and linker flags
+ AC_MSG_RESULT([***************************************************************])
+ AC_MSG_RESULT([Compile cmdline: $CC $AM_CPPFLAGS $CPPFLAGS $AM_CFLAGS $CFLAGS])
diff --git a/sci-astronomy/missfits/metadata.xml b/sci-astronomy/missfits/metadata.xml
new file mode 100644
index 000000000..9abf5c25b
--- /dev/null
+++ b/sci-astronomy/missfits/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ MissFITS is a program that performs basic maintenance and packaging
+ tasks on FITS files using an optimised FITS library. MissFITS can:
+ * add/edit/remove FITS header keywords
+ * split/join Multi-Extension-FITS (MEF) files
+ * unpile/pile FITS data-cubes
+ * create/check/update FITS checksums, using R. Seaman’s protocol.
+</longdescription>
+<use>
+ <flag name="plplot">Build with <pkg>sci-libs/plplot</pkg> to allow diagnostic plots during processing</flag>
+</use>
+</pkgmetadata>
diff --git a/sci-astronomy/missfits/missfits-2.4.0.ebuild b/sci-astronomy/missfits/missfits-2.4.0.ebuild
new file mode 100644
index 000000000..d710b9f85
--- /dev/null
+++ b/sci-astronomy/missfits/missfits-2.4.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/scamp-1.7.0.ebuild,v 1.1 2010/05/03 21:44:04 bicatali Exp $
+
+EAPI=3
+inherit eutils autotools
+
+DESCRIPTION="Performs basic maintenance and packaging tasks on FITS files"
+HOMEPAGE="http://www.astromatic.net/software/missfits"
+SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ eautoreconf
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*.pdf || die "pdf doc install failed"
+ fi
+}
diff --git a/sci-astronomy/weightwatcher/ChangeLog b/sci-astronomy/weightwatcher/ChangeLog
new file mode 100644
index 000000000..c2f6ee227
--- /dev/null
+++ b/sci-astronomy/weightwatcher/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sci-astronomy/weightwatcher
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> ChangeLog:
+ Initial import
+