blob: 104b8f0290647082e033f61fd5cae2df2282780e (
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
27
28
29
30
31
32
33
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild,v 1.2 2007/09/18 17:14:18 rbrown Exp $
inherit ruby
IUSE=""
MY_P=${P/ruby-/}
DESCRIPTION="The Mmap class implement memory-mapped file objects"
HOMEPAGE="http://moulon.inra.fr/ruby/mmap.html"
SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz"
SLOT="0"
USE_RUBY="ruby18 ruby19"
LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
if built_with_use dev-lang/ruby cjk; then
cd "${S}"
epatch "${FILESDIR}/${P}-oniguruma_rb_reg_regsub.patch"
fi
}
src_compile() {
ruby_src_compile all rdoc || die
}
|