summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-04-13 12:44:21 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-04-13 12:44:21 +0000
commit1fbe0f345d40f2c050adda3bfc204df7add02950 (patch)
tree44f6473a123a1f54df449f9a4b2fb1293a80e74e /dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild
parentFix trailing whitespace (diff)
downloadgentoo-2-1fbe0f345d40f2c050adda3bfc204df7add02950.tar.gz
gentoo-2-1fbe0f345d40f2c050adda3bfc204df7add02950.tar.bz2
gentoo-2-1fbe0f345d40f2c050adda3bfc204df7add02950.zip
Bump for file fixes in right spot (#77564)
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild')
-rw-r--r--dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild b/dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild
new file mode 100644
index 000000000000..4b2fde1faef6
--- /dev/null
+++ b/dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod_ruby/mod_ruby-1.2.4-r2.ebuild,v 1.1 2005/04/13 12:44:21 caleb Exp $
+
+inherit apache-module
+
+DESCRIPTION="Embeds the Ruby interpreter into Apache"
+HOMEPAGE="http://modruby.net/"
+SRC_URI="http://modruby.net/archive/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~sparc ~x86 ~ppc ~amd64 ~ppc64"
+IUSE="doc"
+
+DEPEND="virtual/ruby
+ doc? ( dev-ruby/rdtool )"
+
+APACHE1_MOD_CONF="mod_ruby"
+APACHE2_MOD_CONF="21_mod_ruby"
+APACHE1_MOD_DEFINE="RUBY"
+APACHE2_MOD_DEFINE="RUBY"
+APACHE1_MOD_FILE="$S/mod_ruby.so"
+APACHE2_MOD_FILE="$S/mod_ruby.so"
+DOCFILES="ChangeLog COPYING README.* doc/*.html doc/*.css"
+
+need_apache
+
+src_compile() {
+ if [ "${APACHE_VERSION}" == "2" ]; then
+ APXS=${APXS2}
+ APACHE_BASEDIR=${APACHE2_BASEDIR}
+ else
+ APXS=${APXS1}
+ APACHE_BASEDIR=${APACHE1_BASEDIR}
+ fi
+
+ ./configure.rb --with-apxs=${APXS}
+
+ emake || die
+
+ if use doc; then
+ cd doc
+ emake
+ fi
+}