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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Feb 2 14:49:00 2015 UTC (5 years, 9 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +12 -11 lines
sci-libs/matio: Fix license to BSD-2, #536294

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 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.1.ebuild,v 1.2 2013/03/22 10:50:10 grozin Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8
9 inherit autotools-utils eutils
10
11 DESCRIPTION="Library for reading and writing matlab files"
12 HOMEPAGE="http://sourceforge.net/projects/matio/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14
15 SLOT="0"
16 LICENSE="BSD-2"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc examples hdf5 sparse static-libs"
19
20 RDEPEND="
21 sys-libs/zlib
22 hdf5? ( sci-libs/hdf5 )"
23 DEPEND="${RDEPEND}
24 doc? ( virtual/latex-base )"
25
26 PATCHES=( "${FILESDIR}"/${PN}-1.5.0-asneeded.patch )
27
28 src_configure() {
29 local myeconfargs=(
30 --docdir="${EPREFIX}/usr/share/doc/${PF}"
31 $(use_enable hdf5 mat73)
32 $(use_enable sparse extended-sparse)
33 )
34 autotools-utils_src_configure
35 }
36
37 src_compile() {
38 autotools-utils_src_compile
39 use doc && autotools-utils_src_compile -C documentation pdf
40 }
41
42 src_install() {
43 use doc && DOCS=( "${BUILD_DIR}"/documentation/matio_user_guide.pdf )
44 autotools-utils_src_install
45 if use examples; then
46 docinto examples
47 dodoc test/test*
48 insinto /usr/share/${PN}
49 doins share/test*
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20