summaryrefslogtreecommitdiff
blob: d4acef101829aff041cdf06df94c6111a8dd9744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.2.3-r1.ebuild,v 1.4 2009/11/30 18:25:57 armin76 Exp $

inherit ruby gems
USE_RUBY="ruby18"

DESCRIPTION="Eases web-request routing, handling, and response."
HOMEPAGE="http://rubyforge.org/projects/actionpack/"

LICENSE="MIT"
SLOT="2.2"
KEYWORDS="amd64 ia64 ~ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""

DEPEND=">=dev-lang/ruby-1.8.5
	=dev-ruby/activesupport-2.2.3"

src_install() {
	gems_src_install

	# Patch for bug 294797.
	# Yes, I know, but we cannot patch gems in a different way *yet*.
	cd "${D}/$(gem18 env gemdir)/gems/${P}/lib" || die "cd failed"
	epatch "${FILESDIR}/${P}-strip_tags.patch"
}