summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-astronomy/stiff
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-astronomy/stiff')
-rw-r--r--sci-astronomy/stiff/Manifest1
-rw-r--r--sci-astronomy/stiff/files/stiff-configure.patch63
-rw-r--r--sci-astronomy/stiff/metadata.xml10
-rw-r--r--sci-astronomy/stiff/stiff-2.1.3.ebuild28
4 files changed, 102 insertions, 0 deletions
diff --git a/sci-astronomy/stiff/Manifest b/sci-astronomy/stiff/Manifest
new file mode 100644
index 000000000000..223909631733
--- /dev/null
+++ b/sci-astronomy/stiff/Manifest
@@ -0,0 +1 @@
+DIST stiff-2.1.3.tar.gz 1043999 SHA256 64ad8aa64cb82c4d96cfa54335016260a6f264d9b7cdaf175a247476233e8aad SHA512 f5b9d4c1fb3db68d8422b357f0005e188259d021977dfa777ec999356e0f73d083cc9e04ffd16655582883d2b7dd38f7888006f086d12412ce13a9c5084a7359 WHIRLPOOL 97436148dadb5237a91d817b9040c5eb67857eea63a3f7728fa24588354861418c150a16b27385db973166e8bb86cf39fd273116c043b2b1a9c57bc78b5162a1
diff --git a/sci-astronomy/stiff/files/stiff-configure.patch b/sci-astronomy/stiff/files/stiff-configure.patch
new file mode 100644
index 000000000000..15b8d9aa3010
--- /dev/null
+++ b/sci-astronomy/stiff/files/stiff-configure.patch
@@ -0,0 +1,63 @@
+--- configure.ac.orig 2009-03-10 12:34:36.000000000 +0000
++++ configure.ac 2009-07-28 17:26:22.000000000 +0100
+@@ -21,40 +21,14 @@
+
+ # Include macros
+ #sinclude(acx_pthread.m4)
+-sinclude(acx_prog_cc_optim.m4)
+
+ # Display pakage and version number
+ AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
+
+-# Initialize the list of compilers to consider
+-cclist="cc gcc"
+-
+-# Backup and reset the input CFLAGS and LDFLAGS
+-mycflags="$CFLAGS"
+-CFLAGS=""
+-myldflags="$LDFLAGS"
+-LDFLAGS=""
+-
+-# 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])
+ # C Compiler: Check that it is ANSI C
+ AM_PROG_CC_STDC
+ # C Compiler: Check that it is POSIX-compliant
+ AC_ISC_POSIX
+-ACX_PROG_CC_OPTIM
+ AC_PROG_AWK
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+@@ -107,19 +81,9 @@
+
+ # Link with gprof option
+ if test "$use_gprof" = "yes"; then
+- if test "$use_icc" = "yes"; then
+- CFLAGS="$CFLAGS -pq"
+- else
+- CFLAGS="$CFLAGS -pg"
+- fi
+ use_static="no"
+ fi
+
+-# Static linking option
+-if test "$use_static" = "yes"; then
+- LDFLAGS="-static -shared-libgcc $LDFLAGS"
+-fi
+-
+ # Override automatic CFLAGS and LDFLAGS with those of user
+ #if test -n "$mycflags"; then
+ #CFLAGS="$mycflags"
diff --git a/sci-astronomy/stiff/metadata.xml b/sci-astronomy/stiff/metadata.xml
new file mode 100644
index 000000000000..320c9fec8acd
--- /dev/null
+++ b/sci-astronomy/stiff/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
+ STIFF is a program that convert scientific FITS images to the
+ more popular TIFF, in 8 (grayscale) or 24 (true colour: 3 times 8) bits per
+ pixel.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-astronomy/stiff/stiff-2.1.3.ebuild b/sci-astronomy/stiff/stiff-2.1.3.ebuild
new file mode 100644
index 000000000000..4aecbf3fa5e8
--- /dev/null
+++ b/sci-astronomy/stiff/stiff-2.1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Converts astronomical FITS images to the TIFF format"
+HOMEPAGE="http://www.astromatic.net/software/stiff"
+SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc threads"
+
+RDEPEND="media-libs/tiff
+ virtual/jpeg
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable threads)
+}
+
+src_install () {
+ default
+ use doc && dodoc doc/*
+}