summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
index d55188e..ae30080 100644
--- a/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
+++ b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
@@ -4,7 +4,8 @@
inherit ruby
-IUSE=""
+IUSE="cjk"
+EAPI="paludis-1"
MY_P=${P/ruby-/}
@@ -13,14 +14,14 @@ 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"
-DEPEND=">=dev-lang/ruby-1.8"
-
S=${WORKDIR}/${MY_P}
+DEPEND="cjk? ( dev-lang/ruby[cjk] )
+ !cjk? ( dev-lang/ruby[-cjk] )"
+
src_unpack() {
unpack ${A}