blob: e4bbe205882ab696266aaffcf1f5598951a09af3 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# 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.1.1.1 2005/11/30 09:58:13 chriswhite Exp $
inherit portability
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 ~ppc ppc-macos"
IUSE=""
DEPEND=""
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
sed -i IoVM/Makefile -e "s/\(^LIBS := .*\)/\1 $(dlopen_lib)/"
}
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
}
|