| 1 |
armin76 |
1.15 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
pclouds |
1.1 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
armin76 |
1.16 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/eruby-1.0.5-r1.ebuild,v 1.15 2012/05/01 18:24:27 armin76 Exp $ |
| 4 |
pclouds |
1.1 |
|
| 5 |
|
|
inherit ruby |
| 6 |
|
|
|
| 7 |
pclouds |
1.5 |
IUSE="vim-syntax examples" |
| 8 |
pclouds |
1.1 |
|
| 9 |
|
|
DESCRIPTION="eRuby interprets a Ruby code embedded text file" |
| 10 |
|
|
HOMEPAGE="http://www.modruby.net/" |
| 11 |
|
|
SRC_URI="http://www.modruby.net/archive/${P}.tar.gz" |
| 12 |
|
|
LICENSE="GPL-2 LGPL-2.1" |
| 13 |
|
|
SLOT="0" |
| 14 |
armin76 |
1.16 |
KEYWORDS="~amd64 hppa ~mips ppc ppc64 x86 ~x86-fbsd" |
| 15 |
pclouds |
1.1 |
PDEPEND="vim-syntax? ( app-vim/eruby-syntax )" |
| 16 |
flameeyes |
1.13 |
USE_RUBY="ruby18" # doesn't build on |
| 17 |
pclouds |
1.1 |
|
| 18 |
graaff |
1.10 |
src_unpack() { |
| 19 |
|
|
unpack ${A} |
| 20 |
|
|
|
| 21 |
|
|
cd "${S}" |
| 22 |
|
|
epatch "${FILESDIR}"/${P}-missing-xldflags.patch |
| 23 |
|
|
} |
| 24 |
|
|
|
| 25 |
pclouds |
1.1 |
src_compile() { |
| 26 |
|
|
ruby configure.rb || die |
| 27 |
|
|
make || die |
| 28 |
|
|
} |
| 29 |
|
|
|
| 30 |
|
|
src_install () { |
| 31 |
graaff |
1.10 |
make DESTDIR="${D}" install || die |
| 32 |
pclouds |
1.1 |
dodoc ChangeLog README* |
| 33 |
|
|
} |