diff options
Diffstat (limited to 'www-servers/gorg/gorg-0.6.3.ebuild')
-rw-r--r-- | www-servers/gorg/gorg-0.6.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/www-servers/gorg/gorg-0.6.3.ebuild b/www-servers/gorg/gorg-0.6.3.ebuild new file mode 100644 index 000000000000..0b5b7334d1b8 --- /dev/null +++ b/www-servers/gorg/gorg-0.6.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/gorg-0.6.3.ebuild,v 1.1 2007/03/08 10:19:49 genstef Exp $ + +inherit ruby + +DESCRIPTION="Back-end XSLT processor for an XML-based web site" +HOMEPAGE="http://gentoo.neysx.org/mystuff/gorg/gorg.xml" +SRC_URI="http://gentoo.neysx.org/mystuff/gorg/${P}.tgz" +IUSE="apache fastcgi mysql" + +SLOT="0" +USE_RUBY="ruby18" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" + +DEPEND=">=dev-libs/libxml2-2.6.16 + >=dev-libs/libxslt-1.1.12" +RDEPEND="apache? ( net-www/apache ) + fastcgi? ( >=www-apache/mod_fcgid-1.05 + >=dev-ruby/ruby-fcgi-0.8.5-r1 ) + mysql? ( >=dev-db/mysql-4 + >=dev-ruby/ruby-dbi-0.0.21 + >=dev-ruby/mysql-ruby-2.5 )" + +src_install() { + ruby_src_install + + # Fix listen issue w/ webrick + sed -i -e 's/WEBrick::HTTPServer.new(/WEBrick::HTTPServer.new( :BindAddress=>"127.0.0.1",/' ${D}/usr/lib/ruby/site_ruby/*/gorg/www.rb + + # install doesn't seem to chmod these correctly, forcing it here + chmod +x ${D}/usr/lib/ruby/site_ruby/*/gorg/cgi-bin/*.cgi + chmod +x ${D}/usr/lib/ruby/site_ruby/*/gorg/fcgi-bin/*.fcgi + + keepdir /etc/gorg + diropts -m0750 -o apache -g apache; dodir /var/cache/gorg + keepdir /var/cache/gorg + insinto etc/gorg ; doins ${S}/etc/gorg/* + dodoc Changelog +} |