blob: 9e55394e33b72c595e1b2c04e5241ef78b6c8a77 (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/io/io-2008.01.17.ebuild,v 1.1 2008/01/20 03:45:28 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
}
|