summaryrefslogtreecommitdiff
blob: f5ea57cbe2eedeb4a0757d4ecd49376d4f1873d5 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Qi is a Lisp-based functional programming implemented in Common Lisp."
HOMEPAGE="http://www.lambdassociates.org/"
SRC_URI="http://www.lambdassociates.org/Download/Qi${PV}.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-lisp/clisp" # dev-lisp/sbcl )"
RDEPEND="${DEPEND}"

S="${WORKDIR}/Qi ${PV}"

src_compile() {
#	sbcl <<< '(LOAD "install.txt")'
	clisp <<< '(LOAD "install.txt")'
}

src_install() {
#	install_sbcl
	install_clisp

	dolib startup.txt
}

install_clisp() {
	newbin Qi-Linux-CLisp qi
	dolib lispinit.mem
}

# install_sbcl() {
# 	newbin Qi-Linux-SBCL.bat qi
# }