summaryrefslogtreecommitdiff
blob: 6ff941ef79e404b8a875f05014bcb1c6a302e000 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools flag-o-matic

DESCRIPTION="SigScheme is an R5RS Scheme interpreter for embedded use"
HOMEPAGE="https://github.com/uim/sigscheme"
SRC_URI="https://github.com/uim/${PN}/releases/download/${PV}/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=(
	"${FILESDIR}"/${PN}-0.9.1-autoconf.patch
)

src_prepare() {
	default
	eautoconf # bug 879679
}

src_configure() {
	use elibc_musl && append-cflags -D_GNU_SOURCE # bug 906864
	econf --disable-static
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}