/[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.11 - (hide annotations) (download)
Sat Aug 22 22:10:28 2009 UTC (4 years, 11 months ago) by a3li
Branch: MAIN
Changes since 1.10: +2 -2 lines
Remove ruby16 from USE_RUBY.
(Portage version: 2.2_rc33/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 a3li 1.11 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/eruby-1.0.5-r1.ebuild,v 1.10 2009/06/13 13:32:56 graaff 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 a3li 1.11 USE_RUBY="ruby18" # doesn't build on ruby19
18 pclouds 1.1
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