summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-07-28 17:39:02 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-07-28 17:39:02 +0000
commit5710a364bc755db8a35441215f2a12aa1ce56d24 (patch)
tree48f369fcb063cd62493e1a835808bc089571918b /sci-astronomy
parentRemove old. (diff)
downloadhistorical-5710a364bc755db8a35441215f2a12aa1ce56d24.tar.gz
historical-5710a364bc755db8a35441215f2a12aa1ce56d24.tar.bz2
historical-5710a364bc755db8a35441215f2a12aa1ce56d24.zip
Version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/sextractor/ChangeLog8
-rw-r--r--sci-astronomy/sextractor/Manifest13
-rw-r--r--sci-astronomy/sextractor/files/sextractor-configure.patch84
-rw-r--r--sci-astronomy/sextractor/sextractor-2.8.6.ebuild52
4 files changed, 151 insertions, 6 deletions
diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
index 869ac8652218..ba7cf2893a09 100644
--- a/sci-astronomy/sextractor/ChangeLog
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/sextractor
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.1 2009/02/17 20:44:23 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.2 2009/07/28 17:39:02 bicatali Exp $
+
+*sextractor-2.8.6 (28 Jul 2009)
+
+ 28 Jul 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +sextractor-2.8.6.ebuild, +files/sextractor-configure.patch:
+ Version bump
*sextractor-2.5.0 (17 Feb 2009)
diff --git a/sci-astronomy/sextractor/Manifest b/sci-astronomy/sextractor/Manifest
index dda5ddc53dae..87a758439ec8 100644
--- a/sci-astronomy/sextractor/Manifest
+++ b/sci-astronomy/sextractor/Manifest
@@ -1,14 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX sextractor-configure.patch 2252 RMD160 4ba075e8add3c29c2b9bd033b7e644c8a1a3e034 SHA1 aa2e4eaa02fd79fe7fd24731909d937b88dc3e50 SHA256 95a611a2a2857d784190958f9ebd9efbcc846cce55ee4cd2c6a1149f3837071e
DIST sextractor-2.5.0.tar.gz 2321708 RMD160 336e3a47f57416ad50bbbdd2afb4ff7e858556d0 SHA1 84e111ea0796428d9336de7add3820575fd7d4cb SHA256 786f987818546d9b72fea7e786f040b63e31fbc46325deb58929251065573303
+DIST sextractor-2.8.6.tar.gz 3994622 RMD160 98319c54ab3af0d4a91c3ffa70e7d5148b06d67a SHA1 103ac2d51d9bae9fcbc5dda3031d82cd127f8250 SHA256 dde34594c2a1324f0951272e404e55d0d4cb0607f8ea18a61f2563bb67f494ac
EBUILD sextractor-2.5.0.ebuild 1259 RMD160 aabca363e2397e20cf575e3cdca5b179ed1e99a1 SHA1 ee81b11e919b8d92fbd3df4938fe4fef01df4c2e SHA256 59fc535c4e6a80a4f02c44b67f0817c3c58e82bcf63207a13914b376934fe1cf
-MISC ChangeLog 1140 RMD160 37df93a9efe0df5e29474a80ac7bc3a60e3fbf2f SHA1 3cc5520d92f11e0ce221cca1c511632944c3679a SHA256 638be7e83a8c10dffbfa28ba24775ec4f13044cea8836f6f9d29b396be4fef84
+EBUILD sextractor-2.8.6.ebuild 1389 RMD160 44e43048db937f2d82221a3eb4e05b3fea552948 SHA1 9759796e723b93d596c406d4019de2002515d8df SHA256 9429f1f79167979525f53bed6ab5d889e8aef84c2d8064faab40fa1ab66fd58c
+MISC ChangeLog 1307 RMD160 0c9d386e2b883c92378de023340120742584aca2 SHA1 9e074c98525cb6a0ba0cd7d16f3fd10f5f9e75f0 SHA256 17a6dede0bb97cdd5085bc179d29922ad2293f07ef6b170cbee9355abcb7e0b9
MISC metadata.xml 555 RMD160 ea8b3dae13178fad19696633bda979c229fdf0c1 SHA1 939df7b98d6ff45c00f600a12f43b0954900e78c SHA256 1ba9f206ffb316e725e1771f6e8061d52eeef7c3b880450f15e6db8cfedcdbcd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkmbIa8ACgkQ1ycZbhPLE2BB+ACdHoyz7XTgRXfBUVPnLEVS8/by
-PZ4AmwUl1XJZ19tHSf6pyjW+XI4TG40v
-=DVrC
+iEYEARECAAYFAkpvN8AACgkQ1ycZbhPLE2DqUwCeMPWuzCz39wqWfGQu5HUaaCwU
+dzAAmwav5fQlJ4saOOTrF/Npx5oZXx3W
+=vwrN
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/sextractor/files/sextractor-configure.patch b/sci-astronomy/sextractor/files/sextractor-configure.patch
new file mode 100644
index 000000000000..dc8957ba0a9b
--- /dev/null
+++ b/sci-astronomy/sextractor/files/sextractor-configure.patch
@@ -0,0 +1,84 @@
+--- configure.ac.orig 2009-04-09 14:28:38.000000000 +0100
++++ configure.ac 2009-07-28 18:25:38.000000000 +0100
+@@ -22,42 +22,19 @@
+ # Include macros
+ sinclude(acx_atlas.m4)
+ sinclude(acx_fftw.m4)
+-sinclude(acx_prog_cc_optim.m4)
+ sinclude(acx_pthread.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"
+-
+-# 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_LANG(C)
+-AC_PROG_CC([$cclist])
++AC_PROG_CC
+ # C Compiler: Check that it is ANSI C and POSIX-compliant
+ AM_PROG_CC_STDC
+ AC_ISC_POSIX
+-ACX_PROG_CC_OPTIM
+ AC_DISABLE_STATIC
+ #AC_DISABLE_SHARED
+ AC_PROG_LIBTOOL
+@@ -160,17 +137,6 @@
+ use_gprof="no"
+ AC_MSG_RESULT([no]))
+
+-# Enable static linking
+-AC_MSG_CHECKING([static linking])
+-AC_ARG_ENABLE(static,
+- [AC_HELP_STRING([--enable-static],
+- [Enable static linking \
+-(off by default)])],
+- use_static="yes"
+- AC_MSG_RESULT([yes]),
+- use_static="no"
+- AC_MSG_RESULT([no]))
+-
+ ################# Actions to complete in case of multhreading ################
+ AC_DEFINE_UNQUOTED(THREADS_NMAX, $n_pthreads,[Maximum number of POSIX threads])
+ if test "$use_pthreads" = "yes"; then
+@@ -205,19 +171,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/sextractor/sextractor-2.8.6.ebuild b/sci-astronomy/sextractor/sextractor-2.8.6.ebuild
new file mode 100644
index 000000000000..53d04ec30f47
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-2.8.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild,v 1.1 2009/07/28 17:39:02 bicatali Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="Extract catalogs of sources from astronomical FITS images."
+HOMEPAGE="http://astromatic.iap.fr/software/sextractor"
+SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc threads"
+
+RDEPEND="virtual/cblas
+ >=sci-libs/lapack-atlas-3.8.0
+ sci-libs/fftw:3.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-configure.patch
+ # gentoo uses cblas instead of ptcblas (linked to threaded with eselect)
+ sed -i \
+ -e 's/ptcblas/cblas/g' \
+ acx_atlas.m4 || die "sed acx_atlas.m4 failed"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-atlas="/usr/$(get_libdir)/lapack/atlas" \
+ $(use_enable threads)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS
+ CONFDIR=/usr/share/sextractor
+ insinto ${CONFDIR}
+ doins config/* || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/* || die
+ fi
+}
+
+pkg_postinst() {
+ elog "SExtractor examples configuration files are located"
+ elog "in ${CONFDIR} and are not loaded anymore by default."
+}