[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: b1d56240636822d53adce47672f25e943ef6cf40 Author: Maciej Barć gentoo org> AuthorDate: Mon Oct 30 19:37:58 2023 + Commit: Maciej Barć gentoo org> CommitDate: Mon Oct 30 23:15:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d56240 dev-scheme/owl-lisp: bump to 0.2.2 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/owl-lisp/Manifest | 1 + dev-scheme/owl-lisp/owl-lisp-0.2.2.ebuild | 49 +++ 2 files changed, 50 insertions(+) diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest index c7f6c87cdb25..4834c67e0890 100644 --- a/dev-scheme/owl-lisp/Manifest +++ b/dev-scheme/owl-lisp/Manifest @@ -1 +1,2 @@ DIST owl-v0.2.1.tar.bz2 456751 BLAKE2B 15447cc71b633a97f48086a986c8015f1bc5664b993faa7f4537878fefb805d824c49174ef5a225e4cc870bb4c5b8d256cb887c83eba58d67c64bf5db6d2d7f9 SHA512 b69296e9be60ea4e8103c8100de9d02d00fc50e13624c87c1c4a78852b58aea403459f8b4a2f88826630e7204d58d522b58df489ce194c04e9424186309f5c8e +DIST owl-v0.2.2.tar.bz2 457461 BLAKE2B 5817899d013d2a073fe914380ca64fbaa4a264c707199a41db79452878c3437c8b99c40fe1f0346968c09aad90955eacca255a09a8f9c41e7c495e67187a1cf7 SHA512 decb8b70603b8abeb37168f9f55434a5496248f6f7f7018ce3ca802d5a3f0736a05e74defb93cb8652513e76b15dac2494c401a7ce26e2024743ae333194825c diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.2.ebuild new file mode 100644 index ..2d6148517bdf --- /dev/null +++ b/dev-scheme/owl-lisp/owl-lisp-0.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Purely functional dialect of Scheme" +HOMEPAGE="https://haltp.org/posts/owl.html + https://gitlab.com/owl-lisp/owl/; + +if [[ "${PV}" == ** ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git; +else + SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v${PV}/owl-v${PV}.tar.bz2; + S="${WORKDIR}/owl-v${PV}" + + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" + +PATCHES=( "${FILESDIR}/${PN}-0.2.1-make-no-test.patch" ) + +src_prepare() { + default + + sed -i 's|make bin/vm|$(MAKE) bin/vm|g' "${S}"/Makefile || die + + # Skip "tests/char-ready.sh", "does not work in background subshell". + rm tests/char-ready.sh || die +} + +src_compile(){ + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl +} + +src_install() { + exeinto /usr/bin + doexe bin/ol + newexe bin/vm ovm + + doman doc/*.1 + + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/files/, dev-scheme/owl-lisp/
commit: a0945dd6b183a559d92dc46fc0b85d949fef59d7 Author: Maciej Barć gentoo org> AuthorDate: Fri Aug 11 13:36:22 2023 + Commit: Maciej Barć gentoo org> CommitDate: Fri Aug 11 13:53:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0945dd6 dev-scheme/owl-lisp: skip char-ready, decouple tests Closes: https://bugs.gentoo.org/912068 Signed-off-by: Maciej Barć gentoo.org> .../files/owl-lisp-0.2.1-make-no-test.patch| 10 dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild | 18 ++- dev-scheme/owl-lisp/owl-lisp-.ebuild | 27 ++ 3 files changed, 40 insertions(+), 15 deletions(-) diff --git a/dev-scheme/owl-lisp/files/owl-lisp-0.2.1-make-no-test.patch b/dev-scheme/owl-lisp/files/owl-lisp-0.2.1-make-no-test.patch new file mode 100644 index ..34a4b8ab2288 --- /dev/null +++ b/dev-scheme/owl-lisp/files/owl-lisp-0.2.1-make-no-test.patch @@ -0,0 +1,10 @@ +--- a/Makefile b/Makefile +@@ -49,7 +49,6 @@ c/ol.c: fasl/ol.fasl + bin/ol: c/ol.c + # compile the real owl repl binary + $(CC) $(CFLAGS) $(LDFLAGS) -o bin/olp $? +- CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" sh tests/run all bin/olp + test '!' -f $@ || mv $@ bin/ol-old + mv bin/olp $@ + diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild index 9a3d4efc4581..569d3b931745 100644 --- a/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild +++ b/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild @@ -1,14 +1,13 @@ # Copyright 1999-2023 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=8 inherit toolchain-funcs DESCRIPTION="Purely functional dialect of Scheme" -HOMEPAGE="https://haltp.org/posts/owl.html; +HOMEPAGE="https://haltp.org/posts/owl.html + https://gitlab.com/owl-lisp/owl/; if [[ "${PV}" == ** ]]; then inherit git-r3 @@ -22,10 +21,15 @@ fi LICENSE="MIT" SLOT="0" +PATCHES=( "${FILESDIR}"/${PN}-0.2.1-make-no-test.patch ) + src_prepare() { default sed -i 's|make bin/vm|$(MAKE) bin/vm|g' "${S}"/Makefile || die + + # Skip "tests/char-ready.sh", "does not work in background subshell". + rm tests/char-ready.sh || die } src_compile(){ @@ -33,9 +37,11 @@ src_compile(){ } src_install() { - einstalldocs + exeinto /usr/bin + doexe "${S}"/bin/ol + newexe "${S}"/bin/vm ovm - dobin "${S}"/bin/ol - newbin "${S}"/bin/vm ovm doman "${S}"/doc/*.1 + + einstalldocs } diff --git a/dev-scheme/owl-lisp/owl-lisp-.ebuild b/dev-scheme/owl-lisp/owl-lisp-.ebuild index 551dda855179..b1789ff9873e 100644 --- a/dev-scheme/owl-lisp/owl-lisp-.ebuild +++ b/dev-scheme/owl-lisp/owl-lisp-.ebuild @@ -1,20 +1,19 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 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=8 inherit toolchain-funcs DESCRIPTION="Purely functional dialect of Scheme" -HOMEPAGE="https://haltp.org/posts/owl.html; +HOMEPAGE="https://haltp.org/posts/owl.html + https://gitlab.com/owl-lisp/owl/; if [[ "${PV}" == ** ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git; else - SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v${PV}/owl-v${PV}.tar.gz; + SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v${PV}/owl-v${PV}.tar.bz2; KEYWORDS="~amd64" S="${WORKDIR}/owl-v${PV}" fi @@ -22,15 +21,25 @@ fi LICENSE="MIT" SLOT="0" +PATCHES=( "${FILESDIR}"/${PN}-0.2.1-make-no-test.patch ) + +src_prepare() { + default + + # Skip "tests/char-ready.sh", "does not work in background subshell". + rm tests/char-ready.sh || die +} + src_compile(){ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl } src_install() { - einstalldocs + exeinto /usr/bin + doexe "${S}"/bin/ol + newexe "${S}"/bin/vm ovm - dobin ./bin/ol - newbin ./bin/vm ovm + doman "${S}"/doc/*.1 - doman ./doc/*.1 + einstalldocs }
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: 95a1029ed2b9a3418b599694f2575786805371f9 Author: Maciej Barć gentoo org> AuthorDate: Fri Aug 11 13:04:15 2023 + Commit: Maciej Barć gentoo org> CommitDate: Fri Aug 11 13:53:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a1029e dev-scheme/owl-lisp: drop old 0.2 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/owl-lisp/Manifest| 1 - dev-scheme/owl-lisp/owl-lisp-0.2.ebuild | 42 - 2 files changed, 43 deletions(-) diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest index a6a70e785bed..c7f6c87cdb25 100644 --- a/dev-scheme/owl-lisp/Manifest +++ b/dev-scheme/owl-lisp/Manifest @@ -1,2 +1 @@ DIST owl-v0.2.1.tar.bz2 456751 BLAKE2B 15447cc71b633a97f48086a986c8015f1bc5664b993faa7f4537878fefb805d824c49174ef5a225e4cc870bb4c5b8d256cb887c83eba58d67c64bf5db6d2d7f9 SHA512 b69296e9be60ea4e8103c8100de9d02d00fc50e13624c87c1c4a78852b58aea403459f8b4a2f88826630e7204d58d522b58df489ce194c04e9424186309f5c8e -DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2 diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild deleted file mode 100644 index 05adcbd2ae8e.. --- a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 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=8 - -inherit toolchain-funcs - -DESCRIPTION="Purely functional dialect of Scheme" -HOMEPAGE="https://haltp.org/posts/owl.html; - -if [[ "${PV}" == ** ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git; -else - SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v${PV}/owl-v${PV}.tar.gz; - KEYWORDS="~amd64" - S="${WORKDIR}/owl-v${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -src_prepare() { - default - - sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die -} - -src_compile(){ - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl -} - -src_install() { - einstalldocs - - dobin ./bin/ol - newbin ./bin/vm ovm - - doman ./doc/*.1 -}
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: 3de852eb589d3cdd4780d6c8738461825d7bc054 Author: Maciej Barć gentoo org> AuthorDate: Sun Jan 1 11:32:04 2023 + Commit: Maciej Barć gentoo org> CommitDate: Sun Jan 1 12:30:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de852eb dev-scheme/owl-lisp: bump to 0.2.1 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/owl-lisp/Manifest | 1 + dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild | 41 +++ 2 files changed, 42 insertions(+) diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest index 0a54360a4209..a6a70e785bed 100644 --- a/dev-scheme/owl-lisp/Manifest +++ b/dev-scheme/owl-lisp/Manifest @@ -1 +1,2 @@ +DIST owl-v0.2.1.tar.bz2 456751 BLAKE2B 15447cc71b633a97f48086a986c8015f1bc5664b993faa7f4537878fefb805d824c49174ef5a225e4cc870bb4c5b8d256cb887c83eba58d67c64bf5db6d2d7f9 SHA512 b69296e9be60ea4e8103c8100de9d02d00fc50e13624c87c1c4a78852b58aea403459f8b4a2f88826630e7204d58d522b58df489ce194c04e9424186309f5c8e DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2 diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild new file mode 100644 index ..9a3d4efc4581 --- /dev/null +++ b/dev-scheme/owl-lisp/owl-lisp-0.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 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=8 + +inherit toolchain-funcs + +DESCRIPTION="Purely functional dialect of Scheme" +HOMEPAGE="https://haltp.org/posts/owl.html; + +if [[ "${PV}" == ** ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git; +else + SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v${PV}/owl-v${PV}.tar.bz2; + KEYWORDS="~amd64" + S="${WORKDIR}/owl-v${PV}" +fi + +LICENSE="MIT" +SLOT="0" + +src_prepare() { + default + + sed -i 's|make bin/vm|$(MAKE) bin/vm|g' "${S}"/Makefile || die +} + +src_compile(){ + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl +} + +src_install() { + einstalldocs + + dobin "${S}"/bin/ol + newbin "${S}"/bin/vm ovm + doman "${S}"/doc/*.1 +}
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: d64c42bbe7d20367497d8c064cd8984edfb19013 Author: Sam James gentoo org> AuthorDate: Sun Mar 20 00:38:19 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 20 00:38:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64c42bb dev-scheme/owl-lisp: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> dev-scheme/owl-lisp/owl-lisp-0.2.ebuild | 4 ++-- dev-scheme/owl-lisp/owl-lisp-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild index 95d2e9242438..0ea693d0dc04 100644 --- a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild +++ b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 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 @@ -29,7 +29,7 @@ src_prepare() { } src_compile(){ - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl } src_install() { diff --git a/dev-scheme/owl-lisp/owl-lisp-.ebuild b/dev-scheme/owl-lisp/owl-lisp-.ebuild index c88a667b978e..cae7c2bb43c6 100644 --- a/dev-scheme/owl-lisp/owl-lisp-.ebuild +++ b/dev-scheme/owl-lisp/owl-lisp-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 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 @@ -23,7 +23,7 @@ LICENSE="MIT" SLOT="0" src_compile(){ - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: 62698d424de5e6e5abdf8fe0b3f92e491c08d7fe Author: Maciej Barć gentoo org> AuthorDate: Mon Nov 29 13:41:44 2021 + Commit: Maciej Barć gentoo org> CommitDate: Mon Nov 29 13:46:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62698d42 dev-scheme/owl-lisp: update live Update due to changes: https://gitlab.com/owl-lisp/owl/-/commit/632e45d568bbcdd3f5efe8102722c02b67eae76c Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/owl-lisp/owl-lisp-.ebuild | 6 -- 1 file changed, 6 deletions(-) diff --git a/dev-scheme/owl-lisp/owl-lisp-.ebuild b/dev-scheme/owl-lisp/owl-lisp-.ebuild index 95d2e9242438..c88a667b978e 100644 --- a/dev-scheme/owl-lisp/owl-lisp-.ebuild +++ b/dev-scheme/owl-lisp/owl-lisp-.ebuild @@ -22,12 +22,6 @@ fi LICENSE="MIT" SLOT="0" -src_prepare() { - default - - sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die -} - src_compile(){ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl }
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
commit: 351c1b5a626680968e5f4e033b1f7f32d871 Author: Maciej Barć gentoo org> AuthorDate: Sun Nov 28 22:24:44 2021 + Commit: Maciej Barć gentoo org> CommitDate: Sun Nov 28 22:25:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351c1b5a dev-scheme/owl-lisp: new package; add version 0.2 and live Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/owl-lisp/Manifest | 1 + dev-scheme/owl-lisp/metadata.xml | 20 +++ dev-scheme/owl-lisp/owl-lisp-0.2.ebuild | 42 dev-scheme/owl-lisp/owl-lisp-.ebuild | 42 4 files changed, 105 insertions(+) diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest new file mode 100644 index ..0a54360a4209 --- /dev/null +++ b/dev-scheme/owl-lisp/Manifest @@ -0,0 +1 @@ +DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2 diff --git a/dev-scheme/owl-lisp/metadata.xml b/dev-scheme/owl-lisp/metadata.xml new file mode 100644 index ..904d4e58388f --- /dev/null +++ b/dev-scheme/owl-lisp/metadata.xml @@ -0,0 +1,20 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + +sch...@gentoo.org +Gentoo Scheme Project + + +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. + + +https://gitlab.com/owl-lisp/owl/-/issues +owl-lisp/owl + + diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild new file mode 100644 index ..95d2e9242438 --- /dev/null +++ b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild @@ -0,0 +1,42 @@ +# 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=8 + +inherit toolchain-funcs + +DESCRIPTION="Purely functional dialect of Scheme" +HOMEPAGE="https://haltp.org/posts/owl.html; + +if [[ "${PV}" == ** ]]; 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_prepare() { + default + + sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die +} + +src_compile(){ + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl +} + +src_install() { + einstalldocs + + dobin ./bin/ol + newbin ./bin/vm ovm + + doman ./doc/*.1 +} diff --git a/dev-scheme/owl-lisp/owl-lisp-.ebuild b/dev-scheme/owl-lisp/owl-lisp-.ebuild new file mode 100644 index ..95d2e9242438 --- /dev/null +++ b/dev-scheme/owl-lisp/owl-lisp-.ebuild @@ -0,0 +1,42 @@ +# 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=8 + +inherit toolchain-funcs + +DESCRIPTION="Purely functional dialect of Scheme" +HOMEPAGE="https://haltp.org/posts/owl.html; + +if [[ "${PV}" == ** ]]; 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_prepare() { + default + + sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die +} + +src_compile(){ + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl +} + +src_install() { + einstalldocs + + dobin ./bin/ol + newbin ./bin/vm ovm + + doman ./doc/*.1 +}