summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/racc/racc-1.4.1.ebuild')
-rw-r--r--dev-ruby/racc/racc-1.4.1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/racc/racc-1.4.1.ebuild b/dev-ruby/racc/racc-1.4.1.ebuild
new file mode 100644
index 000000000000..8cf4c12fb3e5
--- /dev/null
+++ b/dev-ruby/racc/racc-1.4.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.1.ebuild,v 1.1 2002/08/18 00:43:41 agriffis Exp $
+
+S=${WORKDIR}/${P}-all
+DESCRIPTION="LALR parser generator for Ruby"
+SRC_URI="http://www.loveruby.net/archive/racc/${P}-all.tar.gz"
+HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
+LICENSE="LGPL"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND=">=dev-lang/ruby-1.6.1
+ >=dev-ruby/amstd-1.9.5"
+
+src_compile() {
+ ruby setup.rb config --without=amstd || die
+ ruby setup.rb setup || die
+}
+
+src_install () {
+ # It appears that this reconfig doesn't hurt anything.
+ # The --prefix and --rb-dir args don't work on the install line.
+ ruby setup.rb config \
+ --prefix=${D}/usr \
+ --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 || die
+ ruby setup.rb install || die
+}