diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-09-18 14:12:07 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-09-18 14:12:07 +0000 |
commit | 503e0814bf1dca4766adc10adabfd28393e57f1d (patch) | |
tree | 17b8b0e33e2b1c0d2d628b261c63412912336fe8 /www-apache | |
parent | remove old ebuilds (diff) | |
download | gentoo-2-503e0814bf1dca4766adc10adabfd28393e57f1d.tar.gz gentoo-2-503e0814bf1dca4766adc10adabfd28393e57f1d.tar.bz2 gentoo-2-503e0814bf1dca4766adc10adabfd28393e57f1d.zip |
version bump
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_ruby/ChangeLog | 9 | ||||
-rw-r--r-- | www-apache/mod_ruby/mod_ruby-1.3.0.ebuild | 49 |
2 files changed, 56 insertions, 2 deletions
diff --git a/www-apache/mod_ruby/ChangeLog b/www-apache/mod_ruby/ChangeLog index 64e180b7bc01..7c93eef65a0a 100644 --- a/www-apache/mod_ruby/ChangeLog +++ b/www-apache/mod_ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apache/mod_ruby -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/ChangeLog,v 1.11 2008/01/31 19:31:06 hollow Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/ChangeLog,v 1.12 2009/09/18 14:12:07 hollow Exp $ + +*mod_ruby-1.3.0 (18 Sep 2009) + + 18 Sep 2009; Benedikt Böhm <hollow@gentoo.org> +mod_ruby-1.3.0.ebuild: + version bump 31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> mod_ruby-1.2.6.ebuild: fix depend.apache usage wrt #208033 diff --git a/www-apache/mod_ruby/mod_ruby-1.3.0.ebuild b/www-apache/mod_ruby/mod_ruby-1.3.0.ebuild new file mode 100644 index 000000000000..c9a01d896bd7 --- /dev/null +++ b/www-apache/mod_ruby/mod_ruby-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/mod_ruby-1.3.0.ebuild,v 1.1 2009/09/18 14:12:07 hollow 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 ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND="virtual/ruby" +DEPEND="${RDEPEND} + doc? ( dev-ruby/rdtool )" + +APACHE2_MOD_CONF="21_mod_ruby" +APACHE2_MOD_DEFINE="RUBY" +APACHE2_MOD_FILE="${PN}.so" + +DOCFILES="ChangeLog COPYING README.*" + +need_apache2_2 + +src_compile() { + ./configure.rb \ + --with-apxs=${APXS} \ + --with-apr-includes=$(/usr/bin/apr-1-config --includedir) + + emake || die "emake failed" + + if use doc ; then + cd doc + emake || die "emake doc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use doc ; then + dohtml doc/*.css doc/*.html + fi + + apache-module_src_install +} |