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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Aug 8 21:48:11 2013 UTC (13 months, 2 weeks ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

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.5.0.ebuild,v 1.2 2012/08/03 22:14:07 bicatali Exp $
4
5 EAPI=4
6 inherit autotools eutils
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 ~amd64-linux ~x86-linux"
13 IUSE="doc examples hdf5 sparse static-libs"
14 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 RDEPEND="sys-libs/zlib
16 hdf5? ( sci-libs/hdf5 )"
17 DEPEND="${RDEPEND}
18 doc? ( virtual/latex-base )"
19
20 src_prepare() {
21 epatch "${FILESDIR}"/${P}-asneeded.patch
22 eautoreconf
23 }
24
25 src_configure() {
26 econf \
27 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
28 --enable-shared \
29 $(use_enable hdf5 mat73) \
30 $(use_enable sparse extended-sparse) \
31 $(use_enable static-libs static)
32 }
33
34 src_compile() {
35 emake
36 use doc && emake -C documentation pdf
37 }
38
39 src_install() {
40 default
41 use doc && dodoc documentation/matio_user_guide.pdf
42 if use examples; then
43 insinto /usr/share/doc/${PF}/examples
44 doins test/test*
45 insinto /usr/share/${PN}
46 doins share/test*
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20