diff options
Diffstat (limited to 'sci-libs/io_lib/io_lib-1.14.14.ebuild')
-rw-r--r-- | sci-libs/io_lib/io_lib-1.14.14.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-libs/io_lib/io_lib-1.14.14.ebuild b/sci-libs/io_lib/io_lib-1.14.14.ebuild new file mode 100644 index 000000000000..d6d07fabe007 --- /dev/null +++ b/sci-libs/io_lib/io_lib-1.14.14.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="General purpose trace and experiment file reading/writing interface" +HOMEPAGE="http://staden.sourceforge.net/ https://github.com/jkbonfield/io_lib" +SRC_URI="https://github.com/jkbonfield/${PN}/releases/download/${PN}-${PV//./-}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/11" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + net-misc/curl:= + sys-libs/zlib:=" +DEPEND="${RDEPEND}" + +# tests fails and might need sci-biology/staden from +# the science overlay +RESTRICT="test" + +src_configure() { + econf $(use static-libs static) +} + +src_install() { + default + dodoc docs/{Hash_File_Format,ZTR_format} + + if ! use static-libs; then + find "${D}" \( -name '*.la' -o -name '*.a' \) -delete || die + fi +} |