blob: 081af787fb86edfab1cd0ad794cd789700105581 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
}
|