diff options
Diffstat (limited to 'dev-gap/io/io-4.8.2-r1.ebuild')
-rw-r--r-- | dev-gap/io/io-4.8.2-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-gap/io/io-4.8.2-r1.ebuild b/dev-gap/io/io-4.8.2-r1.ebuild new file mode 100644 index 000000000000..46c12ae997e9 --- /dev/null +++ b/dev-gap/io/io-4.8.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools gap-pkg + +DESCRIPTION="Bindings for low level C library I/O routines" +SLOT="0" +SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" +IUSE="examples" + +DEPEND="sci-mathematics/gap:=" +RDEPEND="${DEPEND}" + +# backport, merged upstream already +PATCHES=( "${FILESDIR}/${P}-fix-failed-assertion.patch" ) + +gap-pkg_enable_tests + +src_prepare() { + default + + # These tests require network access + rm tst/http.g || die + sed -e 's/"http.g", //' -i tst/testgap.tst || die + + # Support pathological CFLAGS + eautoreconf +} + +src_install() { + # There's no install target for the autotools build system + gap-pkg_src_install + + if use examples; then + docinto examples + dodoc example/* + fi +} |