From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E6D61138A1A for ; Mon, 12 Jan 2015 00:00:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94E6CE081D; Mon, 12 Jan 2015 00:00:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD5AFE081E for ; Mon, 12 Jan 2015 00:00:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C50734063E for ; Mon, 12 Jan 2015 00:00:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52CF6F614 for ; Mon, 12 Jan 2015 00:00:24 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1420983630.93b4daf0a8da5b799169e1a765299b0c26cbc903.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/matio/, sci-libs/matio/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/matio/ChangeLog sci-libs/matio/files/matio-1.3.4-autotools.patch sci-libs/matio/matio-1.3.4.ebuild sci-libs/matio/metadata.xml X-VCS-Directories: sci-libs/matio/ sci-libs/matio/files/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 93b4daf0a8da5b799169e1a765299b0c26cbc903 X-VCS-Branch: master Date: Mon, 12 Jan 2015 00:00:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4af5023d-32ee-434d-8ed3-e27aa372e35e X-Archives-Hash: bccbc6fb7fe41c0fff4ff188d388020e commit: 93b4daf0a8da5b799169e1a765299b0c26cbc903 Author: Marius Brehler linux sungazer de> AuthorDate: Sun Jan 11 13:40:30 2015 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Sun Jan 11 13:40:30 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=93b4daf0 Revert "Remove matio from overlay, newer versions in tree" sci-mathematics/scilab depoends on ' matio-1.3.4.ebuild: + Added fortran-2.eclass support + +*matio-1.3.4 (10 Aug 2010) + + 10 Aug 2010; Sébastien Fabbro -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 + +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 + +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 + +matio-1.3.0.ebuild, -matio-1.1.4.ebuild: + version bump + +*matio-1.1.4 (16 June 2006) + + 16 June 2006; Andrey Grozin + +metadata.xml, +matio-1.1.4.ebuild, +files/matio-1.1.4.patch: + Initial import. 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 0000000..c9e6a04 --- /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 0000000..5f948f6 --- /dev/null +++ b/sci-libs/matio/matio-1.3.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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 0000000..7e65648 --- /dev/null +++ b/sci-libs/matio/metadata.xml @@ -0,0 +1,9 @@ + + + +sci + + matio is an ISO C library (with a limited Fortran 90 interface) for + reading and writing Matlab MAT files. + +