mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 22:25:42 +02:00
37 lines
722 B
Bash
37 lines
722 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit gap-pkg
|
|
|
|
DESCRIPTION="Bindings for low level C library I/O routines"
|
|
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv"
|
|
IUSE="examples"
|
|
|
|
DEPEND="sci-mathematics/gap:="
|
|
RDEPEND="${DEPEND}"
|
|
|
|
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
|
|
}
|
|
|
|
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
|
|
}
|