diff options
author | Andrey Grozin <grozin@gentoo.org> | 2012-04-05 20:26:26 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2012-04-05 20:26:26 +0000 |
commit | 01728cf8e5f38275967ea1456d05fd05a9522940 (patch) | |
tree | a07bf534d98cbec9cfaf995e9a7019c5b30fc0da /sci-libs | |
parent | Stable and beta bump. (diff) | |
download | historical-01728cf8e5f38275967ea1456d05fd05a9522940.tar.gz historical-01728cf8e5f38275967ea1456d05fd05a9522940.tar.bz2 historical-01728cf8e5f38275967ea1456d05fd05a9522940.zip |
Import from science overlay
Package-Manager: portage-2.2.0_alpha99/cvs/Linux i686
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/matio/ChangeLog | 43 | ||||
-rw-r--r-- | sci-libs/matio/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/matio/files/matio-1.3.4-autotools.patch | 29 | ||||
-rw-r--r-- | sci-libs/matio/matio-1.3.4.ebuild | 47 | ||||
-rw-r--r-- | sci-libs/matio/metadata.xml | 9 |
5 files changed, 133 insertions, 0 deletions
diff --git a/sci-libs/matio/ChangeLog b/sci-libs/matio/ChangeLog new file mode 100644 index 000000000000..2efaaebd867d --- /dev/null +++ b/sci-libs/matio/ChangeLog @@ -0,0 +1,43 @@ +# ChangeLog for sci-libs/matio +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/matio/ChangeLog,v 1.1 2012/04/05 20:26:26 grozin Exp $ + + 05 Apr 2012; Andrey Grozin <grozin@gentoo.org> +matio-1.3.4.ebuild, + +files/matio-1.3.4-autotools.patch, +metadata.xml: + Import from science overlay + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> matio-1.3.4.ebuild: + Added fortran-2.eclass support + +*matio-1.3.4 (10 Aug 2010) + + 10 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org> -matio-1.3.3.ebuild, + -files/matio-1.3.3-makefile.patch, +matio-1.3.4.ebuild, + +files/matio-1.3.4-autotools.patch: + Version bump. Ebuild modernisation. Disabling doc generation (bug #330237) + +*matio-1.3.3 (22 Jan 2009) + + 22 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> + +sci-libs/matio/files/matio-1.3.3-makefile.patch, + sci-astronomy/scamp/metadata.xml, sci-libs/matio/metadata.xml, + sci-mathematics/gap/metadata.xml: + Version bump + +*matio-1.3.1 (20 Sep 2006) + + 20 Sep 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su> + +matio-1.3.1.ebuild, -matio-1.3.0.ebuild, -files/matio-1.1.4.patch: + version bump, now at sourceforge + +*matio-1.3.0 (28 August 2006) + + 28 August 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su> + +matio-1.3.0.ebuild, -matio-1.1.4.ebuild: + version bump + +*matio-1.1.4 (16 June 2006) + + 16 June 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su> + +metadata.xml, +matio-1.1.4.ebuild, +files/matio-1.1.4.patch: + Initial import. diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest new file mode 100644 index 000000000000..9d9bce242fbf --- /dev/null +++ b/sci-libs/matio/Manifest @@ -0,0 +1,5 @@ +AUX matio-1.3.4-autotools.patch 1087 RMD160 996771a8d033247fb701356a96b71ea56c5cb97f SHA1 0ae3f6e5e75ae0c211ab43ef4b7ac6d3948d107e SHA256 37a572925ae026e42b682b1a816ed0094e7e906b76bdde098e775b5d1c203f7c +DIST matio-1.3.4.tar.gz 450343 RMD160 3a0f2fe1260e48af0fb9e501d0af1383cefe5dd3 SHA1 721b9b57f2437850dd114acca1f422622e2c47e2 SHA256 7261880b18a661e5d206b4e479d4334b47549f093130df42f7204fd05dfe0bc5 +EBUILD matio-1.3.4.ebuild 1232 RMD160 0c37945e87d0d56d18aedd097e748df8cc5c61fa SHA1 0d715af2554ef44f9747cc6218437c853d29b7d8 SHA256 1baf45657940d87b99cd43870e6125cb7855e57a181c892343f7873e8511f095 +MISC ChangeLog 1485 RMD160 4d49d8e57082db255d4db24819e9c71a37eab4f0 SHA1 cd8bee8ca7a8914ae30f20fcafec9ffc7da080d1 SHA256 718cf95c0bf744fa38249746aae18b6a443744f7769623208cd085938a2534e2 +MISC metadata.xml 313 RMD160 974b1335daa5b99cc1afc3d1592ca45e64b12259 SHA1 0e01789e32462b40a3d646d9de831a5987de65d2 SHA256 d7d339f2978f3b717d87eeffa70343181e30d19b42a74a498291bf641353e9aa diff --git a/sci-libs/matio/files/matio-1.3.4-autotools.patch b/sci-libs/matio/files/matio-1.3.4-autotools.patch new file mode 100644 index 000000000000..c9e6a04126bf --- /dev/null +++ b/sci-libs/matio/files/matio-1.3.4-autotools.patch @@ -0,0 +1,29 @@ +--- configure.ac.orig 2010-08-10 20:36:52.000000000 +0100 ++++ configure.ac 2010-08-10 20:39:03.000000000 +0100 +@@ -5,7 +5,7 @@ + AC_INIT([MATIO],[1.3.4],[cch@isl-inc.com],[]) + AC_CONFIG_SRCDIR([src/matio.h]) + AC_CONFIG_AUX_DIR(config) +-AC_CONFIG_MACRO_DIR([m4]) ++ + dnl AM_INIT_AUTOMAKE([-no-undefined]) + AM_INIT_AUTOMAKE + AM_MAINTAINER_MODE +--- src/Makefile.am.orig 2010-08-10 20:31:41.000000000 +0100 ++++ src/Makefile.am 2010-08-10 20:34:44.000000000 +0100 +@@ -17,6 +17,7 @@ + lib_LTLIBRARIES = libmatio.la + libmatio_la_SOURCES = snprintf.c endian.c io.c $(ZLIB_SRC) read_data.c \ + mat5.c mat4.c mat.c ++libmatio_la_LIBADD = $(ZLIB_LIBS) + + if ENABLE_FORTRAN + AM_FCFLAGS = -I. -I$(top_builddir)/src/fortran +@@ -25,6 +26,7 @@ + noinst_HEADERS += fortran/create.f90 fortran/read_data.f90 \ + fortran/write_data.f90 fortran/write.f90 + libmatio_la_SOURCES += fortran/matio_internal.c fortran/matio.f90 ++$(top_builddir)/src/matio.mod: libmatio.la + endif + + dosubst = sed -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ diff --git a/sci-libs/matio/matio-1.3.4.ebuild b/sci-libs/matio/matio-1.3.4.ebuild new file mode 100644 index 000000000000..26f0ce4aa9a4 --- /dev/null +++ b/sci-libs/matio/matio-1.3.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/matio/matio-1.3.4.ebuild,v 1.1 2012/04/05 20:26:26 grozin Exp $ + +EAPI=3 +inherit autotools eutils fortran-2 + +DESCRIPTION="Library for reading and writing matlab files" +HOMEPAGE="http://sourceforge.net/projects/matio/" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +# disabling (until fix) doxygen doc generation +IUSE="examples fortran static-libs" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +#DEPEND="doc? ( app-doc/doxygen virtual/latex-base )" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-shared \ + --disable-test \ + $(use_enable fortran) \ + $(use_enable doc docs) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog + #if use doc; then + # insinto /usr/share/doc/${PF} + # doins -r doxygen/html || die + #fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins test/test* || die + insinto /usr/share/${PN} + doins share/test* || die + fi +} diff --git a/sci-libs/matio/metadata.xml b/sci-libs/matio/metadata.xml new file mode 100644 index 000000000000..7e65648fd53e --- /dev/null +++ b/sci-libs/matio/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + matio is an ISO C library (with a limited Fortran 90 interface) for + reading and writing Matlab MAT files. +</longdescription> +</pkgmetadata> |