dev-lisp/PSL: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-26 00:24:24 +01:00
parent c68cc7ca60
commit f69e87993b
4 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="f489ea67801d04d44cc65d63365d187cdd58dbe9"
DESCRIPTION="Portable Standard Lisp"
HOMEPAGE="https://github.com/blakemcbride/PSL"
SRC_URI="https://github.com/blakemcbride/PSL/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
IUSE="doc"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND=""
BDEPEND="
doc? (
app-text/texlive-core
dev-texlive/texlive-latex
)
"
DOCS=( README.md README.2 manual/sl.pdf manual/lispman.pdf )
PATCHES="${FILESDIR}/${P}-respect-flags.patch"
src_compile() {
default
emake sizes
if use doc; then
pushd manual || die
emake all
popd || die
fi
}
src_install() {
newbin lisp standardlisp
exeinto "/usr/libexec/${PN}"
doexe sizes
einstalldocs
}