mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-scheme/owl-lisp: add version 0.2 and live
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
43
dev-scheme/owl-lisp/owl-lisp-0.2.ebuild
Normal file
43
dev-scheme/owl-lisp/owl-lisp-0.2.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: Because it is "purely functional" it is not scheme-compatible ootb
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Purely functional dialect of Scheme"
|
||||
HOMEPAGE="https://haltp.org/posts/owl.html"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v0.2/owl-v${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/owl-v${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# warning: jobserver unavailable
|
||||
emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
exeinto /usr/bin
|
||||
doexe ./bin/ol
|
||||
newexe ./bin/vm ovm
|
||||
|
||||
doman ./doc/ol.1
|
||||
doman ./doc/ovm.1
|
||||
}
|
||||
Reference in New Issue
Block a user