mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
sys-cluster/parallel-netcdf: build doc, autoreconf
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
parent
66f3211ef1
commit
33b46eadff
@ -6,7 +6,7 @@ EAPI=8
|
|||||||
FORTRAN_NEEDED=fortran
|
FORTRAN_NEEDED=fortran
|
||||||
MYP="pnetcdf-${PV}"
|
MYP="pnetcdf-${PV}"
|
||||||
|
|
||||||
inherit fortran-2
|
inherit autotools fortran-2
|
||||||
|
|
||||||
DESCRIPTION="Parallel extension to netCDF"
|
DESCRIPTION="Parallel extension to netCDF"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@ -29,15 +29,26 @@ RDEPEND="
|
|||||||
"
|
"
|
||||||
# adios? ( sys-cluster/adios )
|
# adios? ( sys-cluster/adios )
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
BDEPEND="doc? ( app-doc/doxygen )"
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
app-doc/doxygen
|
||||||
|
dev-texlive/texlive-latex
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
fortran-2_pkg_setup
|
fortran-2_pkg_setup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
export MPIF77=/usr/bin/mpif77
|
export MPIF77=/usr/bin/mpif77
|
||||||
export MPIF90=/usr/bin/mpif90
|
export MPIF90=/usr/bin/mpif90
|
||||||
|
export VARTEXFONTS="${T}/fonts"
|
||||||
|
|
||||||
local myconf=(
|
local myconf=(
|
||||||
--enable-shared
|
--enable-shared
|
||||||
@ -71,10 +82,9 @@ src_configure() {
|
|||||||
econf "${myconf[@]}"
|
econf "${myconf[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" install
|
default
|
||||||
|
dodoc doc/README.{ADIOS.md,NetCDF4.md,burst_buffering,consistency,large_files} doc/pbs.script
|
||||||
|
use doc && dodoc doc/pnetcdf-api/pnetcdf-api.pdf
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user