summaryrefslogtreecommitdiff
path: root/dev-libs/boron/boron-2.1.0.ebuild
blob: 59eb5137f1253a1fe147adc452d58f698169ce48 (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
37
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

DESCRIPTION="A scripting language similar to REBOL"
HOMEPAGE="https://urlan.sourceforge.net/boron/"
SRC_URI="https://downloads.sourceforge.net/urlan/${P}.tar.gz"

LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bzip2 readline"

DEPEND="
	bzip2? ( app-arch/bzip2:= )
	!bzip2? ( sys-libs/zlib:= )
"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-2.1.0_makefile.patch"
)

src_configure() {
	tc-export CC
	# Non-standard configure
	edo ./configure \
		$(usex bzip2 "--bzip2" "")
}

src_install() {
	emake DESTDIR="${D}/usr" install install-dev
	dodoc README.md
}