blob: c56b8412e2326af7acdb2631f82f7233e1646953 (
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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/io-vm/io-vm-20030923.ebuild,v 1.2 2004/03/14 02:40:38 mr_bones_ Exp $
MY_P=IoVM-${PV:0:4}-${PV:4:2}-${PV:6:2}
DESCRIPTION="Io is small prototype-based programming language."
HOMEPAGE="http://www.iolanguage.com/"
SRC_URI="http://io.urbanape.com/release/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
DEPEND=""
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
sed -i IoVM/Makefile -e 's/\(^LIBS := .*\)/\1 -ldl/'
}
src_compile() {
make configure || die
emake || die
}
src_install() {
# copy the relevant portions by hand
dobin IoVM/io
dodoc IoVM/_docs/ReleaseHistory.txt
dohtml -r IoVM/_docs/*
# support for embedding
dodir /usr/include/Io/base
insinto /usr/include/Io
doins IoVM/_include/*
insinto /usr/include/Io/base
doins IoVM/_include/base/*
dolib IoVM/_libs/libIoVM.a
}
|