summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-11-10 12:19:00 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-11-10 12:19:00 +0000
commit8b0de2854b90f275160eb5d068717f5e217739b1 (patch)
treef52504be46ffea88b90590fe18b64681c4777c52 /dev-ruby/amstd
parentA=-fix, try->die, tab-fixes, stylefixes, ... (diff)
downloadgentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.tar.gz
gentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.tar.bz2
gentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.zip
A=-fix, try->die, tab-fixes, stylefixes, ...
Diffstat (limited to 'dev-ruby/amstd')
-rw-r--r--dev-ruby/amstd/amstd-1.9.5.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/dev-ruby/amstd/amstd-1.9.5.ebuild b/dev-ruby/amstd/amstd-1.9.5.ebuild
index 3b6949d7cd5e..347a04ade4a0 100644
--- a/dev-ruby/amstd/amstd-1.9.5.ebuild
+++ b/dev-ruby/amstd/amstd-1.9.5.ebuild
@@ -1,25 +1,23 @@
# 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/amstd/amstd-1.9.5.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/amstd-1.9.5.ebuild,v 1.3 2001/11/10 12:17:54 hallski Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Standard libraries for Ruby"
-SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${A}"
+SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${P}.tar.gz"
HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
DEPEND=">=dev-lang/ruby-1.6.1"
src_compile() {
- cd ${S}
- try ruby setup.rb config
- try ruby setup.rb setup
+ ruby setup.rb config || die
+ ruby setup.rb setup || die
}
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
+ 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
+ assert
}