summaryrefslogtreecommitdiff
blob: 1d81a1a5921efda0b2b72b7995dd7e62c1c6b7e1 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/io/io-2006.12.07.ebuild,v 1.1 2006/12/09 02:39:42 araujo Exp $

inherit versionator

MY_PV=$(replace_all_version_separators "-")
MY_P="Io-${MY_PV}"

DESCRIPTION="Io is a small, prototype-based programming language."
HOMEPAGE="http://www.iolanguage.com"
SRC_URI="http://io.urbanape.com/release/${MY_P}.tar.gz
	http://www.sigusr1.org/~steve/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc"
DEPEND=""
RDEPEND=""

S="${WORKDIR}/${MY_P}"

src_compile() {
	make INSTALL_PREFIX="/usr" || die "make failed."
}

src_install() {
	make install \
		INSTALL_PREFIX="${D}/usr" \
		|| die "make install failed"
	if use doc; then
		dodoc ${S}/docs/guide.{html,pdf}
	fi
}