diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-26 14:07:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-26 14:07:48 +0000 |
commit | adb727afeb568404873e8cbc91ba93d3d49eff13 (patch) | |
tree | d86cdceda93a48d792f162c7b5f054f09c41ee73 /sci-misc/nco | |
parent | ed94061721073b4f7b546c30ae337f5737939985 (diff) |
gentoo auto-resync : 26:12:2022 - 14:07:48
Diffstat (limited to 'sci-misc/nco')
-rw-r--r-- | sci-misc/nco/Manifest | 2 | ||||
-rw-r--r-- | sci-misc/nco/nco-5.1.3.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-misc/nco/Manifest b/sci-misc/nco/Manifest index 9941449ccbdd..d0b1af9940b1 100644 --- a/sci-misc/nco/Manifest +++ b/sci-misc/nco/Manifest @@ -1,3 +1,5 @@ DIST nco-4.5.1.tar.gz 4406757 BLAKE2B f2e203f1c38f5575fe4affb9122c91c61db8a2c2604cbcf9cd1eec6330e4771b8ff4325fcc19cfa292508e9b7a3107ae20e6230397f1269441e4efb883f8e4e9 SHA512 69c19cc9502272adada329dae669fc1c263a360789963253315e81ce1534647b9172b39a0fd3c0f0f453bf903c8a8a4b0e3f0eb778390e43b64eede3a0478485 +DIST nco-5.1.3.tar.gz 6438534 BLAKE2B 6296d881b0e0b62e18daa40db71ccca79b4cca9fa8f046a0664f53b690d8f85175676900d792a4691090662ed80ce5c4e32e4236c69c6057d292800bd9987f36 SHA512 c4819a0b3a1c431419df73250e6648e5afc55439d260d166fb4e13ca3f4ae34bdc728b921922e075c86f6bf5dbede1565741616b2b9a32bcdcfbe85617a7f8ec EBUILD nco-4.5.1-r2.ebuild 1247 BLAKE2B 0377f91eadf9b9e44f1bf4f7954e6687ffa325f99758c6f27f8a3be2d8d756707faf06692c9fc8f9391268a4b22e208b54ab7ca8824f55b4dbccce4cfcd88e4c SHA512 23d5ba5dd652afd9c7ab401bf85688aeffa73d12b51c491df37a687dea86c0e4372e6f260855174f309541cfc8205114aa40c33c1043569dd1b20f0c04f3035a +EBUILD nco-5.1.3.ebuild 1233 BLAKE2B af4a2f5cb332212232dacd5e59f2d42cae192b0232ca992563d5a50ed65561969c2c025da8d7b7833b8e92defef2c4344a5d85de7e683964249b447dffe63653 SHA512 dbdae5e66a4d766dad025901ecb94b9329e21be0c82e07b0f3fd736eb261758b43bbc237d2684e2bb9fb93abb0cb7e54c33dc99c8f24f004f08ea3c2dc65b4e7 MISC metadata.xml 1145 BLAKE2B 4f9165405e77c57feb8de2b4f128d75238039455c55f6290ff6232c7988f5bfd3fa3d420ac37645e893d7b3d47a065513eed454e84ebb007a01e4778e2f88921 SHA512 003ac5b9bddcb83a5adf70e4f1779276aeef6be1a6a1208114547924049fa43df8a71cef4e46f63f87cd2dd0fe3de8a1885457bdc71f5fcc7755a5c1a63afe31 diff --git a/sci-misc/nco/nco-5.1.3.ebuild b/sci-misc/nco/nco-5.1.3.ebuild new file mode 100644 index 000000000000..09b909e232be --- /dev/null +++ b/sci-misc/nco/nco-5.1.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Command line utilities for operating on netCDF files" +HOMEPAGE="http://nco.sourceforge.net/" +SRC_URI="http://nco.sf.net/src/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="dap gsl hdf5 ncap2 openmp test udunits" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=sci-libs/netcdf-4:=[dap=,hdf5?,tools] + gsl? ( sci-libs/gsl:= ) + ncap2? ( dev-cpp/antlr-cpp:2= ) + udunits? ( >=sci-libs/udunits-2 )" +DEPEND="${RDEPEND} + test? ( >=sci-libs/netcdf-4[tools] )" +BDEPEND="sys-apps/texinfo" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + econf \ + --disable-udunits \ + --disable-gpu \ + --enable-doc \ + $(use_enable dap) \ + $(use_enable gsl) \ + $(use_enable hdf5 netcdf4) \ + $(use_enable hdf5 netcdf-4) \ + $(use_enable ncap2) \ + $(use_enable ncap2 ncoxx) \ + $(use_enable openmp) \ + $(use_enable udunits udunits2) +} + +src_install() { + default + dodoc doc/ChangeLog + + find "${ED}" -name '*.la' -delete || die +} |