mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
dev-scheme: moved owl-lisp to ::gentoo
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@riseup.net</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Owl Lisp is a simple programming language. The main motivation for
|
||||
writing it was to get a portable system for writing standalone
|
||||
programs in a subjectively pleasant dialect of LISP, which in this
|
||||
case means a minimal core language and runtime, purely functional
|
||||
operation and support for asynchronous evaluation.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">owl-lisp/owl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,43 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
# 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