summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2007-09-18 13:51:46 +0000
committerRichard Brown <rbrown@gentoo.org>2007-09-18 13:51:46 +0000
commit839e25d19f282322acb007e0a20b528fe8d45dd8 (patch)
tree8f18d228205e94bb1d67709426e007112eb1e5f8
parentPrepare for new ruby-1.8.6 to r13463 (diff)
downloadrbrown-839e25d19f282322acb007e0a20b528fe8d45dd8.tar.gz
rbrown-839e25d19f282322acb007e0a20b528fe8d45dd8.tar.bz2
rbrown-839e25d19f282322acb007e0a20b528fe8d45dd8.zip
Add ruby-mmap
svn path=/; revision=44
-rw-r--r--dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild27
-rw-r--r--dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild4
2 files changed, 30 insertions, 1 deletions
diff --git a/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
new file mode 100644
index 0000000..10a71be
--- /dev/null
+++ b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild,v 1.1 2007/01/08 21:44:26 twp Exp $
+
+inherit ruby
+
+IUSE=""
+
+MY_P=${P/ruby-/}
+
+DESCRIPTION="The Mmap class implement memory-mapped file objects"
+HOMEPAGE="http://moulon.inra.fr/ruby/mmap.html"
+SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz"
+
+SLOT="0"
+USE_RUBY="ruby18 ruby19"
+LICENSE="Ruby"
+KEYWORDS="~alpha ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND=">=dev-lang/ruby-1.8"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+
+ ruby_src_compile all rdoc || die
+}
diff --git a/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild
index e73d239..bb84e89 100644
--- a/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild
+++ b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild,v 1.3 2007/03/04 00:15:40 genone Exp $
-inherit ruby flag-o-matic
+inherit ruby flag-o-matic eutils
DESCRIPTION="An extension library to access a SQLite database from Ruby"
HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
@@ -34,6 +34,8 @@ pkg_setup() {
}
src_compile() {
+ epatch ${FILESDIR}/${PN}.patch
+
myconf=""
if ! use swig ; then
myconf="--without-ext"