blob: 2d25f9bb88a016bf99228fb65feca919bbde367c (
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-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/strscan/strscan-0.5.8.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Fast string scanning library for Ruby"
SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${A}"
HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
DEPEND=">=dev-lang/ruby-1.6.1
>=dev-ruby/amstd-1.9.5"
src_compile() {
cd ${S}
try ruby setup.rb config --without=amstd
try ruby setup.rb setup
}
src_install () {
cd ${S}
try ruby setup.rb install --bin-dir=${D}/usr/bin \
--rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 \
--so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
}
|