/[gentoo-x86]/dev-ruby/amstd/amstd-1.9.5.ebuild
Gentoo

Diff of /dev-ruby/amstd/amstd-1.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2000 Gentoo Technologies, Inc. 1# Copyright 1999-2000 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# Author Jerry Alexandratos <jerry@gentoo.org> 3# Author Jerry Alexandratos <jerry@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/Attic/amstd-1.9.5.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $ 4# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/Attic/amstd-1.9.5.ebuild,v 1.3 2001/11/10 12:17:54 hallski Exp $
5 5
6A=${P}.tar.gz
7S=${WORKDIR}/${P} 6S=${WORKDIR}/${P}
8DESCRIPTION="Standard libraries for Ruby" 7DESCRIPTION="Standard libraries for Ruby"
9SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${A}" 8SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${P}.tar.gz"
10HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html" 9HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
11 10
12DEPEND=">=dev-lang/ruby-1.6.1" 11DEPEND=">=dev-lang/ruby-1.6.1"
13 12
14src_compile() { 13src_compile() {
15 cd ${S} 14 ruby setup.rb config || die
16 try ruby setup.rb config 15 ruby setup.rb setup || die
17 try ruby setup.rb setup
18} 16}
19 17
20src_install () { 18src_install () {
21 cd ${S}
22 try ruby setup.rb install --bin-dir=${D}/usr/bin \ 19 ruby setup.rb install --bin-dir=${D}/usr/bin \
23 --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 \ 20 --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 \
24 --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu 21 --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
22 assert
25} 23}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20