Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.10_p1.ebuild,v 1.1 2013/01/28 19:41:03 xarthisius Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.10_p1.ebuild,v 1.1 2013/01/28 19:41:03 xarthisius Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
FORTRAN_NEEDED=fortran |
7 |
FORTRAN_NEEDED=fortran |
8 |
MY_P=${PN}-${PV/_p/-patch} |
8 |
MY_P=${PN}-${PV/_p/-patch} |
Lines 14-20
Link Here
|
14 |
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MY_P}/src/${MY_P}.tar.bz2" |
14 |
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MY_P}/src/${MY_P}.tar.bz2" |
15 |
|
15 |
|
16 |
LICENSE="NCSA-HDF" |
16 |
LICENSE="NCSA-HDF" |
17 |
SLOT="0" |
17 |
SLOT="0/${PV%%_p*}" |
18 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
18 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
19 |
IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib" |
19 |
IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib" |
20 |
|
20 |
|
Lines 106-120
Link Here
|
106 |
default |
106 |
default |
107 |
use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
107 |
use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
108 |
} |
108 |
} |
109 |
|
|
|
110 |
pkg_postinst() { |
111 |
if has_version "sci-libs/hdf5"; then |
112 |
ewarn "You have upgraded hdf5 from previous version and the software" |
113 |
ewarn "using it may start complaining about mismatch between headers" |
114 |
ewarn "and library version. You have two options:" |
115 |
ewarn " 1. export HDF5_DISABLE_VERSION_CHECK=2 to get rid of the" |
116 |
ewarn " warning/error message" |
117 |
ewarn " 2. re-emerge all reverse dependencies (type" |
118 |
ewarn " 'emerge --depclean -pv sci-libs/hdf5' to get the list)" |
119 |
fi |
120 |
} |