summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r--dev-ruby/racc/racc-1.2.4.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/dev-ruby/racc/racc-1.2.4.ebuild b/dev-ruby/racc/racc-1.2.4.ebuild
index bfa0080c3177..9967e598a19c 100644
--- a/dev-ruby/racc/racc-1.2.4.ebuild
+++ b/dev-ruby/racc/racc-1.2.4.ebuild
@@ -1,26 +1,25 @@
# 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/racc/racc-1.2.4.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.2.4.ebuild,v 1.3 2001/11/10 12:17:54 hallski Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="LALR parser generator 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
>=dev-ruby/amstd-1.9.5"
src_compile() {
- cd ${S}
- try ruby setup.rb config --without=amstd
- try ruby setup.rb setup
+ ruby setup.rb config --without=amstd || 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
}