/[gentoo-x86]/sci-libs/matio/matio-1.3.4.ebuild
Gentoo

Contents of /sci-libs/matio/matio-1.3.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Sep 22 20:46:37 2012 UTC (7 years, 10 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old, fixes bug #435928 by Ben Longbons <b.r.longbons@gmail.com>

(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/matio/matio-1.3.4.ebuild,v 1.1 2012/04/05 20:26:26 grozin Exp $
4
5 EAPI=3
6 inherit autotools eutils fortran-2
7
8 DESCRIPTION="Library for reading and writing matlab files"
9 HOMEPAGE="http://sourceforge.net/projects/matio/"
10 SLOT="0"
11 LICENSE="LGPL-2.1"
12 KEYWORDS="~amd64 ~x86"
13 # disabling (until fix) doxygen doc generation
14 IUSE="examples fortran static-libs"
15 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
16 #DEPEND="doc? ( app-doc/doxygen virtual/latex-base )"
17 RDEPEND=""
18
19 src_prepare() {
20 epatch "${FILESDIR}"/${P}-autotools.patch
21 eautoreconf
22 }
23
24 src_configure() {
25 econf \
26 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
27 --enable-shared \
28 --disable-test \
29 $(use_enable fortran) \
30 $(use_enable doc docs) \
31 $(use_enable static-libs static)
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc README ChangeLog
37 #if use doc; then
38 # insinto /usr/share/doc/${PF}
39 # doins -r doxygen/html || die
40 #fi
41 if use examples; then
42 insinto /usr/share/doc/${PF}/examples
43 doins test/test* || die
44 insinto /usr/share/${PN}
45 doins share/test* || die
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20