diff options
-rw-r--r-- | sci-libs/cdf/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/cdf/cdf-3.5.0.2.ebuild | 126 |
2 files changed, 0 insertions, 134 deletions
diff --git a/sci-libs/cdf/Manifest b/sci-libs/cdf/Manifest index 9e3f6128d7dc..84ce1596aca8 100644 --- a/sci-libs/cdf/Manifest +++ b/sci-libs/cdf/Manifest @@ -1,11 +1,3 @@ -DIST cdf350crm.pdf 2139671 BLAKE2B fbfcc12d919ca07beb1df621f967bbe69b33d0c403613e1b12c01354e53e86f93920104d24dab4f3d1260d72f5e6de663ae3a87ef310dfabf46af2c216424f07 SHA512 382c3cfd73b7c75a017f0c563c61473fccc11ca344f33f4f5a543f4c339a52879400532dbff9956ae8c2b7706f63223132666c3154ad7ada281cd4418e48b4dd -DIST cdf350frm.pdf 2194293 BLAKE2B 40b269a7987a1522ec7f92eae8efba1117993e459df574afe89d5325d21c3e685a5ed09216bfa56e22f40e831c99bf6d69faa14b9d3a1014d1cbceba43dc3bc9 SHA512 1c1db067f42b56ddb01399821103ced7207da1dc191f62f7acf6776a05c15a992f7be060790233e1b94444724aedb6f83ba687f60b7a20b4988f9d591b40d481 -DIST cdf350jrm.pdf 4009791 BLAKE2B 5b0ea4fcfe2237b4105707d2a3a9945e13333c4ee073d7d9a5a2b839a250308697aa9291aa1e224b886f821235b4d6c4f5f5304a1ad61d45436e1dc4f2b0425a SHA512 cf42de6d94168337936403fc2e504b03fdd676ae8daf8020186d3261bc7331822d47b7c509c804ca5fd637af3696308d09c5db102aaa546138d0630c3df999c3 -DIST cdf350prm.pdf 1111201 BLAKE2B fa0796143906c6b1d3744e97c9325596d8fa9db9f272be4af338f71c49c5b623adaa2f00835dacf671f4ee2ba104d5a9f89f443ec39338d01e726af97c43297d SHA512 5ab9002dea0d223e5322d3cfbd9faaa4306d701c9e81de77a27b6c28054ffde146ce1fc98c6f8f34d36c684fc65c8007e378af9990cf709f534da35c2ca1ecb4 -DIST cdf350ug.pdf 1396156 BLAKE2B 39f3e3b0441ef103c9131b3c5523c5a387eb785d545c68cd6f5ab9b3f696cf960a0f532722ef6b9a510675d30b061742ecedb4b7188aaac0c05db8bbf4d08266 SHA512 2c3111cb873f7e59b78e1963923a878564f4dbcd7bd8f54a3b35825e3fcfd162bf19ba6fef3ec1058616cc76bb0c57cdd2f7bf9fd5f4faaac9ba5559d7febe29 -DIST cdf35_0-dist-cdf.tar.gz 1137065 BLAKE2B df3235338e63686dd0446663b8738618c45c4e86c858b4f41d3326ebf14d391ecce43309cf5d6a3db4a9f9e53820bf8a73acb77549a0432594859b24acb7eb84 SHA512 f26bd1e298494563cb30c52751bd175124814dca2fe2c05ae056d6c2ad905fb5ddc7da35888c6a07d69914f52481cb4e9fcab9684c9a8a0ca4b80ca449ad3406 -DIST cdf35_0-dist-java.tar.gz 724055 BLAKE2B 563542821106b040bb0eaefa303cbda46ace5a127cda1936c55e5eaf3b395eb67073a622e84d1bfc33cb65faa4b51710008cfbae86fd680e5cca2c80dbc5162b SHA512 2e69447e9c36ced39a6bfcd1f2a5dfa7c36c04e9a5acac12952c1b415c5191471efbf2cc432b5b31eb37c8ee31bda3e27bce0fa266c5549fb1b0ab86c4dd6c4f -DIST cdf35ifd.pdf 560458 BLAKE2B c44722d30c4217b492fe140833ae9c58721040b629cf414fe8d9d7d44433b3f62241d621d4b6d634f54e4f0ecb4c026b66a1e752a1d868b0861eed54d4a95bee SHA512 018a524f7fc8dc5b8b3512ed8bdea42bae141eb65d24b4fbbdac6ecebaeac5c458caf3a476fc4b7c0313b17441cbe7dce32d1002f9344d056cd46853ee3cd438 DIST cdf380crm.pdf 2671048 BLAKE2B 2605d6465c744b57f11d08605aa888ead724b7553a0efd8830dae759eb54c6d0df807cca1c6611fd40b4c5eb9327fbfcd66f0f7cf82b69bf7619385928ebc6dd SHA512 fc1eef589ff0f3cd989d8743cc1d6cfeb5946cf9ae8e4a328ba746b33fe0f6a286cf7b7b7e7cab5e0231bef566c03d7b68afe6c0879e5fb32fc1e6c980f7e081 DIST cdf380csrm.pdf 2409166 BLAKE2B 7e97e61865531b788553ca9747513ec32bc5e1a743e10e5bad5f62980a883d00cfeede975b83826ad72327071062080cd1db611fd40c4e5b3d22caf7d4dd3d0f SHA512 d669f032722e270d3f16f8d9a8920d4536430bd83a509591cf82b447770d16a9c6d9aba17e096f78445c4f0b7f4ab85082cf2480bc9384b46677a2325be0f163 DIST cdf380frm.pdf 2570409 BLAKE2B c8fb1444c7e02297af0c3bffbf58c048077e0d69c4aca8cb3e48331f496dba1551289d2e2b95f9f2d9fabe8048bd56f73a72bab58a52772cae22f184a6b39745 SHA512 de90e4893b976ab9e77f1e9512b2f310b043b8dc921ca43cf1d37e767bf5cbae5d06f91388ff5f4fb1258db5a1149712fa9a5dbc1c2d18f78705021fc31087bb diff --git a/sci-libs/cdf/cdf-3.5.0.2.ebuild b/sci-libs/cdf/cdf-3.5.0.2.ebuild deleted file mode 100644 index 2942136cd5fb..000000000000 --- a/sci-libs/cdf/cdf-3.5.0.2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch java-pkg-opt-2 multilib toolchain-funcs versionator - -MY_DP="${PN}$(get_version_component_range 1)$(get_version_component_range 2)" -MY_P="${MY_DP}_$(get_version_component_range 3)" - -DESCRIPTION="Common Data Format I/O library for multi-dimensional data sets" -HOMEPAGE="https://cdf.gsfc.nasa.gov" -SRC_BASE="http://cdaweb.gsfc.nasa.gov/pub/software/${PN}/dist/${MY_P}/unix/" - -SRC_URI="${SRC_BASE}/${MY_P}-dist-${PN}.tar.gz - java? ( ${SRC_BASE}/${MY_P}-dist-java.tar.gz ) - doc? ( - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0crm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0frm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}ifd.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0prm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0ug.pdf - java? ( ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0jrm.pdf ) - )" - -LICENSE="CDF" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples java ncurses static-libs" -RESTRICT="bindist" - -RDEPEND=" - java? ( >=virtual/jre-1.5:= ) - ncurses? ( sys-libs/ncurses:0= ) -" -DEPEND=" - ${RDEPEND} - ncurses? ( virtual/pkgconfig ) -" - -S="${WORKDIR}/${MY_P}-dist" - -src_prepare() { - # respect cflags, remove useless scripts - epatch \ - "${FILESDIR}"/${P}-Makefile.patch \ - "${FILESDIR}"/${PN}-3.2-soname.patch - # use proper lib dir - sed -i \ - -e "s:\$(INSTALLDIR)/lib:\$(INSTALLDIR)/$(get_libdir):g" \ - Makefile || die "sed failed" -} - -src_compile() { - PV_SO=${PV:0:1} - emake \ - OS=linux \ - CC=$(tc-getCC) \ - ENV=gnu \ - SHARED=yes \ - SHAREDEXT_linux=so.${PV_SO} \ - CURSESLIB_linux_gnu="$(usex ncurses "$($(tc-getPKG_CONFIG) --libs ncurses)" "")" \ - CURSES=$(usex ncurses) \ - ${myconf} \ - all - - if use java; then - export CDF_BASE="${S}" - export CDF_LIB="${S}/src/lib" - cd cdfjava/jni - $(tc-getCC) \ - ${CFLAGS} -fPIC \ - -I${CDF_BASE}/src/include \ - -I$(java-config -O)/include \ - -I$(java-config -O)/include/linux \ - -c cdfNativeLibrary.c \ - -o cdfNativeLibrary.o \ - || die "compiling java lib failed" - $(tc-getCC) \ - ${LDFLAGS} \ - -shared cdfNativeLibrary.o \ - -Wl,-soname=libcdfNativeLibrary.so.${PV_SO} \ - -L${CDF_LIB} -lcdf -lm \ - -o libcdfNativeLibrary.so.${PV_SO} \ - || die "linking java lib failed" - fi -} - -src_test() { - emake -j1 test -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir) - # -j1 (fragile non-autotooled make) - emake -j1 \ - INSTALLDIR="${ED}/usr" \ - SHAREDEXT=so.${PV_SO} \ - install - dosym libcdf.so.${PV_SO} /usr/$(get_libdir)/libcdf.so - use static-libs || rm "${ED}"/usr/$(get_libdir)/libcdf.a - dodoc Release.notes CHANGES.txt Welcome.txt - doenvd "${FILESDIR}"/50cdf - - if use doc; then - dodoc "${DISTDIR}"/${MY_DP}{0{crm,frm,prm,ug},ifd}.pdf - use java && dodoc "${DISTDIR}"/${MY_DP}jrm.pdf - fi - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins samples/* - fi - - if use java; then - cd cdfjava || die - dolib.so jni/libcdfNativeLibrary.so.${PV_SO} - dosym libcdfNativeLibrary.so.${PV_SO} \ - /usr/$(get_libdir)/libcdfNativeLibrary.so - java-pkg_dojar */*.jar - if use examples; then - insinto /usr/share/doc/${PF}/examples/java - doins examples/* - fi - fi -} |