diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-10-26 11:51:59 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-10-26 11:51:59 +0000 |
commit | c8110df8d4ca30a915c4c93a54a5e1df1ea0bea2 (patch) | |
tree | 203df7c07da7367b38fe9f3110f81f12f9a0b661 /www-servers/gorg | |
parent | Add myself as primary maintainer based on discussions at the Gentoo Miniconf ... (diff) | |
download | gentoo-2-c8110df8d4ca30a915c4c93a54a5e1df1ea0bea2.tar.gz gentoo-2-c8110df8d4ca30a915c4c93a54a5e1df1ea0bea2.tar.bz2 gentoo-2-c8110df8d4ca30a915c4c93a54a5e1df1ea0bea2.zip |
Version bump with ruby19 fixes, even though we cannot enable ruby19 due to the dbi dependency yet.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/gorg')
-rw-r--r-- | www-servers/gorg/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/gorg/gorg-0.6.5.ebuild | 60 |
2 files changed, 67 insertions, 1 deletions
diff --git a/www-servers/gorg/ChangeLog b/www-servers/gorg/ChangeLog index 0ea8e1dfec1d..8aace25983fc 100644 --- a/www-servers/gorg/ChangeLog +++ b/www-servers/gorg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/gorg # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.36 2012/10/26 10:54:09 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.37 2012/10/26 11:51:59 graaff Exp $ + +*gorg-0.6.5 (26 Oct 2012) + + 26 Oct 2012; Hans de Graaff <graaff@gentoo.org> +gorg-0.6.5.ebuild: + Version bump with ruby19 fixes, even though we cannot enable ruby19 due to + the dbi dependency yet. 26 Oct 2012; Hans de Graaff <graaff@gentoo.org> metadata.xml: Add myself as primary maintainer based on discussions at the Gentoo Miniconf diff --git a/www-servers/gorg/gorg-0.6.5.ebuild b/www-servers/gorg/gorg-0.6.5.ebuild new file mode 100644 index 000000000000..5872a6331b0f --- /dev/null +++ b/www-servers/gorg/gorg-0.6.5.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/gorg-0.6.5.ebuild,v 1.1 2012/10/26 11:51:59 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18" + +inherit ruby-ng eutils + +DESCRIPTION="Back-end XSLT processor for an XML-based web site" +HOMEPAGE="http://www.gentoo.org/proj/en/gdp/doc/gorg.xml" +SRC_URI="https://github.com/gentoo/gorg/tarball/${PV} -> ${P}-git.tgz" +IUSE="fastcgi mysql" + +RUBY_S="gentoo-gorg-*" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +CDEPEND=" + >=dev-libs/libxml2-2.6.16 + >=dev-libs/libxslt-1.1.12" +DEPEND="${DEPEND} ${CDEPEND}" +RDEPEND="${RDEPEND} ${CDEPEND} + fastcgi? ( virtual/httpd-fastcgi )" + +ruby_add_rdepend " + mysql? ( >=dev-ruby/dbi-0.0.21[mysql] ) + fastcgi? ( >=dev-ruby/fcgi-0.8.5-r1 )" + +pkg_setup() { + enewgroup gorg + enewuser gorg -1 -1 -1 gorg +} + +each_ruby_configure() { + ${RUBY} setup.rb config --prefix=/usr || die +} + +each_ruby_compile() { + ${RUBY} setup.rb setup || die +} + +each_ruby_install() { + ${RUBY} setup.rb config --prefix="${D}"/usr || die + ${RUBY} setup.rb install || die + + # install doesn't seem to chmod these correctly, forcing it here + SITE_LIB_DIR=$(ruby_rbconfig_value 'sitelibdir') + chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi + chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi +} + +all_ruby_install() { + keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/* + diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg + + dodoc Changelog README +} |