diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-27 07:01:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-27 07:01:35 +0000 |
commit | e5558bb40ba46b03d0c8e82ae60dce9a32933989 (patch) | |
tree | 85455876dea191e90114ff262f0d971533de9cd0 /sci-libs/getdata/getdata-0.11.0-r2.ebuild | |
parent | 0b8b325c6d134a9f66de2ba751280e6480e609af (diff) |
gentoo auto-resync : 27:03:2024 - 07:01:35
Diffstat (limited to 'sci-libs/getdata/getdata-0.11.0-r2.ebuild')
-rw-r--r-- | sci-libs/getdata/getdata-0.11.0-r2.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/sci-libs/getdata/getdata-0.11.0-r2.ebuild b/sci-libs/getdata/getdata-0.11.0-r2.ebuild new file mode 100644 index 000000000000..db7e24e11bc4 --- /dev/null +++ b/sci-libs/getdata/getdata-0.11.0-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_STANDARD="95" +FORTRAN_NEEDED=fortran +inherit autotools fortran-2 flag-o-matic + +DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data" +HOMEPAGE="https://getdata.sourceforge.net" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz" + +SLOT="0" +LICENSE="LGPL-2.1+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 cxx debug flac fortran lzma perl static-libs" + +DEPEND=" + dev-libs/libltdl + bzip2? ( app-arch/bzip2 ) + lzma? ( app-arch/xz-utils ) + perl? ( dev-lang/perl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-fix-gzseek64-not-found.patch + "${FILESDIR}"/${PN}-0.11.0-bashisms-configure.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # -Werror=lto-type-mismatch + # + # In theory I could report a bug. In practice the project has ignored all + # bug reports since immediately after switching to github. + filter-lto + + # GCC 10 workaround + # bug #723076 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + + econf \ + --disable-idl \ + --disable-matlab \ + --disable-php \ + --with-libz \ + --without-libslim \ + --without-libzzip \ + $(use_with bzip2 libbz2) \ + $(use_enable cxx cplusplus) \ + $(use_enable debug) \ + $(use_with flac libFLAC) \ + $(use_enable fortran) \ + $(use_enable fortran fortran95) \ + $(use_with lzma liblzma) \ + $(use_enable perl) \ + $(usex perl --with-perl-dir=vendor) \ + --disable-python \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |