blob: 6689c561602558c12e3dc58e5683b7b27c525825 (
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
38
39
40
41
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Algol 68 Genie compiler-interpreter"
HOMEPAGE="https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html"
SRC_URI="https://jmvdveer.home.xs4all.nl/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+curl +gsl +mpfr +ncurses plotutils postgres +readline"
RDEPEND="
curl? ( net-misc/curl )
gsl? ( sci-libs/gsl:= )
mpfr? ( dev-libs/mpfr:= )
plotutils? ( media-libs/plotutils )
postgres? ( dev-db/postgresql:* )
readline? ( sys-libs/readline:= )
"
DEPEND="
${RDEPEND}
"
PATCHES=( "${FILESDIR}/${PN}-3.3.21-configure-implicit.patch" )
src_configure() {
local -a myconf=(
$(use_enable curl)
$(use_enable gsl)
$(use_enable mpfr)
$(use_enable ncurses curses)
$(use_enable plotutils)
$(use_enable postgres postgresql)
$(use_enable readline)
$(use_with ncurses)
)
econf "${myconf[@]}"
}
|