blob: d7b36158318ca8055a9e0f2a9acb795d6e58929e (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Larceny is a Scheme Interpreter and a Scheme to IA32 and C Compiler"
SRC_URI="http://www.ccs.neu.edu/home/will/Larceny/LarcenyReleases/larceny-${PV}-bin-native-ia32-linux86.tar.gz"
HOMEPAGE="http://www.ccs.neu.edu/home/will/Larceny/"
LICENSE="Larceny"
SLOT="0"
KEYWORDS="~x86 ~amd64"
S="${WORKDIR}/larceny-${PV}-bin-native-ia32-linux86"
LAUNCHER_SCRIPT="#!/bin/sh
/opt/larceny/larceny \$@"
src_install() {
dodoc COPYRIGHT README-FIRST.txt doc/HOWTO-* || die "installing docs"
mkdir -p ${D}/opt/larceny
mv -f larceny*\
lib\
startup.sch\
*.heap\
twobit\
scheme-script\
"${D}/opt/larceny"
mkdir -p ${D}/usr/bin
echo "${LAUNCHER_SCRIPT}">"${D}/usr/bin/larceny"
chmod a+x "${D}/usr/bin/larceny"
}
|