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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Sat Jun 13 13:32:56 2009 UTC (5 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.9: +10 -3 lines
Fix broken configure.rb script. Remove old version.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20