Tools/ncview: build-block added
This commit is contained in:
32
Tools/ncview/build
Executable file
32
Tools/ncview/build
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
module use System
|
||||
|
||||
#pbuild::add_to_group 'HDF5_serial'
|
||||
pbuild::add_to_group 'Tools'
|
||||
|
||||
pbuild::set_download_url \
|
||||
"ftp://cirrus.ucsd.edu/pub/$P/$P-${V_PKG}.tar.gz"
|
||||
#pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb'
|
||||
#pbuild::install_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "--with-udunits2_incdir=${UDUNITS_INCLUDE_DIR}"
|
||||
pbuild::add_configure_args "--with-udunits2_libdir=${UDUNITS_LIBRARY_DIR}"
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
cp -av "${HDF5_SERIAL_LIBRARY_DIR}"/libhdf5.so.* "${PREFIX}/bin"
|
||||
cp -av "${HDF5_SERIAL_LIBRARY_DIR}"/libhdf5_hl.so.* "${PREFIX}/bin"
|
||||
cp -av "${NETCDF_LIBRARY_DIR}"/libnetcdf.so.* "${PREFIX}/bin"
|
||||
patchelf --force-rpath --set-rpath '$ORIGIN' "${PREFIX}/bin/ncview"
|
||||
while read f; do
|
||||
patchelf --force-rpath --set-rpath '$ORIGIN' "$f"
|
||||
done < <(ls -1 "${PREFIX}/bin"/lib*.so.*.*)
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
2
Tools/ncview/files/variants
Normal file
2
Tools/ncview/files/variants
Normal file
@@ -0,0 +1,2 @@
|
||||
ncview/2.1.7 unstable gcc/7.3.0 hdf5_serial/1.10.3 netcdf/4.6.1 b:libexpat/2.2.6 b:udunits/2.2.26 b:patchelf/0.8.1
|
||||
ncview/2.1.7_testing unstable b:gcc/7.3.0 b:hdf5_serial/1.10.3 b:netcdf/4.6.1 b:libexpat/2.2.6 b:udunits/2.2.26 b:patchelf/0.8.1
|
||||
16
Tools/ncview/modulefile
Normal file
16
Tools/ncview/modulefile
Normal file
@@ -0,0 +1,16 @@
|
||||
#%Pmodule
|
||||
|
||||
module-whatis "netCDF visual browser"
|
||||
module-url "http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
|
||||
module-license "GNU GPL v3"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
Ncview is a visual browser for netCDF format files. Typically you would
|
||||
use ncview to get a quick and easy, push-button look at your netCDF files.
|
||||
You can view simple movies of the data, view along various dimensions,
|
||||
take a look at the actual data values, change color maps, invert the data,
|
||||
etc. It runs on UNIX platforms under X11, R4 or higher. For more information,
|
||||
please read \$NCVIEW_DIR/share/doc/ncview/README.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user