summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-16 17:13:14 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-16 17:13:14 +0000
commit4faa2c5d10d0d9a40502ac44a96c460c964eaf0c (patch)
tree25d9b20848f215ecfc4e1fbb5b3967049793d068 /dev-ruby
parentadding missing files (diff)
downloadhistorical-4faa2c5d10d0d9a40502ac44a96c460c964eaf0c.tar.gz
historical-4faa2c5d10d0d9a40502ac44a96c460c964eaf0c.tar.bz2
historical-4faa2c5d10d0d9a40502ac44a96c460c964eaf0c.zip
Fixed some CHOST issues
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/amstd/amstd-1.9.5.ebuild4
-rw-r--r--dev-ruby/racc/racc-1.2.4.ebuild4
-rw-r--r--dev-ruby/strscan/strscan-0.5.8-r1.ebuild29
-rw-r--r--dev-ruby/strscan/strscan-0.5.8.ebuild4
4 files changed, 35 insertions, 6 deletions
diff --git a/dev-ruby/amstd/amstd-1.9.5.ebuild b/dev-ruby/amstd/amstd-1.9.5.ebuild
index 0a4d29a6569b..3b6949d7cd5e 100644
--- a/dev-ruby/amstd/amstd-1.9.5.ebuild
+++ b/dev-ruby/amstd/amstd-1.9.5.ebuild
@@ -1,7 +1,7 @@
# 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.1 2000/11/17 08:22:04 jerry Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/amstd-1.9.5.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -21,5 +21,5 @@ 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/i686-linux-gnu
+ --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
}
diff --git a/dev-ruby/racc/racc-1.2.4.ebuild b/dev-ruby/racc/racc-1.2.4.ebuild
index d58e307ac807..bfa0080c3177 100644
--- a/dev-ruby/racc/racc-1.2.4.ebuild
+++ b/dev-ruby/racc/racc-1.2.4.ebuild
@@ -1,7 +1,7 @@
# 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.1 2000/11/17 08:22:04 jerry Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.2.4.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -22,5 +22,5 @@ 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/i686-linux-gnu
+ --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
}
diff --git a/dev-ruby/strscan/strscan-0.5.8-r1.ebuild b/dev-ruby/strscan/strscan-0.5.8-r1.ebuild
new file mode 100644
index 000000000000..6d3188299646
--- /dev/null
+++ b/dev-ruby/strscan/strscan-0.5.8-r1.ebuild
@@ -0,0 +1,29 @@
+# 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-r1.ebuild,v 1.1 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}
+ cp config.save config.orig
+ sed -e "s:dir=/usr:dir=${D}/usr:" config.orig > config.save
+ try ruby setup.rb install
+# 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/i686-linux-gnu
+}
diff --git a/dev-ruby/strscan/strscan-0.5.8.ebuild b/dev-ruby/strscan/strscan-0.5.8.ebuild
index 9138f9542fdc..2d25f9bb88a0 100644
--- a/dev-ruby/strscan/strscan-0.5.8.ebuild
+++ b/dev-ruby/strscan/strscan-0.5.8.ebuild
@@ -1,7 +1,7 @@
# 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.1 2000/11/17 08:22:04 jerry Exp $
+# $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}
@@ -22,5 +22,5 @@ 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/i686-linux-gnu
+ --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
}