Diff cyclone-0.35.0 with a cyclone-9999
/usr/portage/dev-scheme/cyclone/cyclone-9999.ebuild 2024-07-02 13:51:45.669851500 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
# Cyclone is a self-hosting Scheme to C compiler |
... | ... | |
11 | 11 |
DESCRIPTION="R7RS Scheme to C compiler" |
12 | 12 |
HOMEPAGE="http://justinethier.github.io/cyclone/" |
13 | 13 | |
14 |
if [[ ${PV} == *9999* ]] ; then |
|
14 |
if [[ "${PV}" == *9999* ]] ; then |
|
15 | 15 |
inherit git-r3 |
16 | ||
16 | 17 |
EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git" |
17 | 18 |
else |
18 |
SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
19 |
SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/v${PV}.tar.gz |
|
20 |
-> ${P}.tar.gz" |
|
21 |
S="${WORKDIR}/${PN}-bootstrap-${PV}" |
|
22 | ||
19 | 23 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
20 |
S="${WORKDIR}"/${PN}-bootstrap-${PV} |
|
21 | 24 |
fi |
22 | 25 | |
23 | 26 |
LICENSE="MIT" |
24 | 27 |
SLOT="0" |
25 | 28 | |
26 |
RDEPEND="dev-libs/concurrencykit" |
|
27 |
DEPEND="${RDEPEND}" |
|
29 |
RDEPEND=" |
|
30 |
dev-libs/concurrencykit |
|
31 |
" |
|
32 |
DEPEND=" |
|
33 |
${RDEPEND} |
|
34 |
" |
|
28 | 35 | |
29 | 36 |
src_configure() { |
30 | 37 |
export CYC_GCC_OPT_FLAGS="${CFLAGS}" |
38 | ||
31 | 39 |
append-cflags -fPIC -Iinclude |
32 | 40 |
append-ldflags -L. |
33 | 41 |
tc-export AR CC RANLIB |
34 | 42 |
} |
35 | 43 | |
36 | 44 |
src_compile() { |
37 |
local myopts=( |
|
45 |
local -a myopts=( |
|
38 | 46 |
PREFIX="/usr" |
39 | 47 |
CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}" |
40 | 48 |
AR="$(tc-getAR)" |