aboutsummaryrefslogtreecommitdiff
blob: e9365d4d2ff508d1a11e4417008000a33639ba6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake edo

DESCRIPTION="R6RS/R7RS Scheme system."
HOMEPAGE="https://bitbucket.org/ktakashi/sagittarius-scheme"
SRC_URI="https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/${P}.tar.gz"
PATCHES=( "${FILESDIR}/${PN}-compiler-flags.patch" )

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/boehm-gc
	dev-libs/libffi
	dev-libs/openssl
	sys-libs/zlib
"
RDEPEND="${DEPEND}"

src_unpack() {
	default

	# avoid running ldconfig
	edo truncate -s0 "${S}"/cmake/CMakeLists.txt

	edo cd "${S}"/test/tests
	# following tests always fail in sandbox
	edo rm net/http-client.scm net/socket.scm rfc/websocket.scm
	# following tests randomly(?!) fail
	edo rm net/server.scm rfc/oauth2.scm rsa/pkcs/%3a12.scm security/keystore.scm
}