| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan-bin/opendylan-bin-2011.1.ebuild,v 1.2 2012/08/20 14:26:22 patrick Exp $ |
| 4 |
EAPI=4 |
| 5 |
|
| 6 |
DESCRIPTION="OpenDylan language runtime environment (prebuilt)" |
| 7 |
|
| 8 |
MY_PN="opendylan" |
| 9 |
MY_P="${MY_PN}-${PV}" |
| 10 |
HOMEPAGE="http://opendylan.org" |
| 11 |
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 ) |
| 12 |
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )" |
| 13 |
LICENSE="Opendylan" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~x86 ~amd64" |
| 16 |
|
| 17 |
IUSE="" |
| 18 |
|
| 19 |
DEPEND="dev-libs/boehm-gc" |
| 20 |
RDEPEND="${DEPEND}" |
| 21 |
|
| 22 |
S=${WORKDIR}/${MY_P} |
| 23 |
|
| 24 |
src_configure() { :; } |
| 25 |
src_compile() { :; } |
| 26 |
|
| 27 |
src_install() { |
| 28 |
# this is a precompiled tarball |
| 29 |
mkdir -p "${D}/opt/${MY_P}" |
| 30 |
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff" |
| 31 |
mkdir -p "${D}/etc/env.d/opendylan" |
| 32 |
echo "export PATH=/opt/opendylan-2011.1/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings" |
| 33 |
} |