mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-scheme/cyclone: bump to 0.33.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST cyclone-0.31.0.tar.gz 3936909 BLAKE2B 6439501caa0cb92fe2bb5c59b452b13ac4206c62ce4ddfb3e459c1160ee0904b4720f3b8506b71eab67841b72a1b96ffc31283946fc91da285c8ba7ca75d4d4d SHA512 f0a5d7c6890183ccab65028f43be2080dcf7d44b80a254f176ffa034c04a2701266febbc3f91072e58175bc84eb86a839dab1dbb3674868128ef3d8e650c91c9
|
||||
DIST cyclone-0.32.0.tar.gz 3936913 BLAKE2B b3d33e664eca32eb23e448bbd9a50bcc209be7dea00f988ccbca4b1b431daac9b797409b4aee11ea9a074ee4b9b4ef7e6d7ee336b10dbf7b6ff72ce94598d066 SHA512 9a2c24f667e148fc87c6a87eed5c96ddab7e47f804fe1d725a1d13411dd66acc910c0ab138f34c0eb57c7c496ed0f4d9ff33bd71f750b08eeed60664cccfa056
|
||||
DIST cyclone-0.33.0.tar.gz 3946573 BLAKE2B 7eba62995ef3d327e14d6fbcf433d40e73c244508f8858d636a3a3fd05660e2921055932dedbe50ce8b384e9a9b44a09112aca6f851af6cd38b9b372769b2adc SHA512 96ffd3d04636b27f36c98920359a9f880c4b2a15e9820e5d91c82f821dc93357b665537e7688b00510d6a4fd113666edbd5ec109ff491f4f18d547129527b763
|
||||
|
||||
55
dev-scheme/cyclone/cyclone-0.33.0.ebuild
Normal file
55
dev-scheme/cyclone/cyclone-0.33.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