summaryrefslogtreecommitdiff
blob: 345c8ae45073234cee48a5c2f91037054d1bb4ce (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/optparse/optparse-0.7.5.ebuild,v 1.1 2000/11/17 08:22:04 jerry Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Yet another option parser for Ruby"
SRC_URI=" http://member.nifty.ne.jp/nokada/archive/${A}"
HOMEPAGE=" http://member.nifty.ne.jp/nokada/ruby.html"

DEPEND=">=dev-lang/ruby-1.6.1"

#src_compile() {
#    cd ${S}
#    try ruby setup.rb config --without=amstd
#    try ruby setup.rb setup
#}

src_install () {
    cd ${S}
    insinto /usr/lib/ruby/site_ruby/1.6
    doins optparse.rb

    insinto /usr/lib/ruby/site_ruby/1.6/optparse
    doins optparse/*
}