summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild')
-rw-r--r--dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild b/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild
index d883a3a8e389..293d0c8938cd 100644
--- a/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild
+++ b/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild
@@ -1,26 +1,26 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild,v 1.2 2003/02/13 11:40:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod-ruby/mod-ruby-1.0.1.ebuild,v 1.3 2004/04/10 12:19:52 usata Exp $
DESCRIPTION="An Apache2 DSO providing an embedded Tcl interpreter"
HOMEPAGE="http://www.modruby.net/"
S=${WORKDIR}/mod_ruby-${PV}
SRC_URI="http://www.modruby.net/archive/mod_ruby-${PV}.tar.gz"
-DEPEND="dev-lang/ruby =net-www/apache-2*"
+DEPEND="virtual/ruby
+ =net-www/apache-2*"
LICENSE="BSD"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE=""
SLOT="0"
src_compile() {
./configure.rb --with-apxs=/usr/sbin/apxs2 || die
+ sed -i -e 's|usr/lib/apache2/modules|usr/lib/apache2-extramodules|' Makefile
emake || die
}
src_install() {
- cp Makefile 1
- sed -e 's|usr/lib/apache2|usr/lib/apache2-extramodules|' 1 > Makefile
make DESTDIR=${D} install || die
insinto /etc/apache2/conf/modules.d
doins ${FILESDIR}/20_mod_ruby.conf