/[gentoo-x86]/dev-ruby/eruby/eruby-1.0.5-r1.ebuild
Gentoo

Diff of /dev-ruby/eruby/eruby-1.0.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/Attic/eruby-1.0.5-r1.ebuild,v 1.9 2007/10/14 04:19:54 tgall Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/Attic/eruby-1.0.5-r1.ebuild,v 1.10 2009/06/13 13:32:56 graaff Exp $
4 4
5inherit ruby 5inherit ruby
6 6
7IUSE="vim-syntax examples" 7IUSE="vim-syntax examples"
8 8
14KEYWORDS="alpha ~amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd" 14KEYWORDS="alpha ~amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
15DEPEND="virtual/ruby" 15DEPEND="virtual/ruby"
16PDEPEND="vim-syntax? ( app-vim/eruby-syntax )" 16PDEPEND="vim-syntax? ( app-vim/eruby-syntax )"
17USE_RUBY="ruby16 ruby18" # doesn't build on ruby19 17USE_RUBY="ruby16 ruby18" # doesn't build on ruby19
18 18
19src_unpack() {
20 unpack ${A}
21
22 cd "${S}"
23 epatch "${FILESDIR}"/${P}-missing-xldflags.patch
24}
25
19src_compile() { 26src_compile() {
20 ruby configure.rb || die 27 ruby configure.rb || die
21 make || die 28 make || die
22} 29}
23 30
24src_install () { 31src_install () {
25 make DESTDIR=${D} install || die 32 make DESTDIR="${D}" install || die
26 dodoc ChangeLog README* 33 dodoc ChangeLog README*
27} 34}

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20