mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-scheme/cyclone: bump to 0.31.0
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cyclone-0.28.0.tar.gz 3683280 BLAKE2B 7f5e5982104094bbadc9cde545b3d9d21b3f000136ff07543b4fd4f8a5e79799b8adf8c480bc65f15645e62ec9ae5cccc9c5ae9305334ae2ef080eab6d730045 SHA512 e106a0ef779a4829b729a928e30cf80409e6fe6bb14859c595098e0bfe18fcd5d9ba8859d607a55ec2f97b2c58ec8ccb3405b41de34044994441889718c6caec
|
||||
DIST cyclone-0.31.0.tar.gz 3936909 BLAKE2B 6439501caa0cb92fe2bb5c59b452b13ac4206c62ce4ddfb3e459c1160ee0904b4720f3b8506b71eab67841b72a1b96ffc31283946fc91da285c8ba7ca75d4d4d SHA512 f0a5d7c6890183ccab65028f43be2080dcf7d44b80a254f176ffa034c04a2701266febbc3f91072e58175bc84eb86a839dab1dbb3674868128ef3d8e650c91c9
|
||||
|
||||
55
dev-scheme/cyclone/cyclone-0.31.0.ebuild
Normal file
55
dev-scheme/cyclone/cyclone-0.31.0.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Cyclone is a self-hosting Scheme to C compiler
|
||||
# cyclone-bootstrap is the Cyclone SOURCE transpiled by it to C
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="R7RS Scheme to C compiler"
|
||||
HOMEPAGE="http://justinethier.github.io/cyclone/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git"
|
||||
else
|
||||
SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-bootstrap-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-libs/concurrencykit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
export CYC_GCC_OPT_FLAGS="${CFLAGS}"
|
||||
append-cflags -fPIC -Iinclude
|
||||
append-ldflags -L.
|
||||
tc-export AR CC RANLIB
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopts=(
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}"
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
)
|
||||
emake "${myopts[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake LDFLAGS="" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
emake PREFIX="/usr" DESTDIR="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user