1 |
graaff 11/12/04 10:12:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gorg-0.6.4-r1.ebuild |
5 |
Log: |
6 |
Convert to ruby-ng.eclass. Add ruby19 support. Thanks to naota for patches and testing in bug 315487. |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.28 www-servers/gorg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gorg/ChangeLog?rev=1.28&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gorg/ChangeLog?rev=1.28&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gorg/ChangeLog?r1=1.27&r2=1.28 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v |
20 |
retrieving revision 1.27 |
21 |
retrieving revision 1.28 |
22 |
diff -u -r1.27 -r1.28 |
23 |
--- ChangeLog 9 Apr 2011 18:13:34 -0000 1.27 |
24 |
+++ ChangeLog 4 Dec 2011 10:12:59 -0000 1.28 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for www-servers/gorg |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.27 2011/04/09 18:13:34 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.28 2011/12/04 10:12:59 graaff Exp $ |
30 |
+ |
31 |
+*gorg-0.6.4-r1 (04 Dec 2011) |
32 |
+ |
33 |
+ 04 Dec 2011; Hans de Graaff <graaff@g.o> +gorg-0.6.4-r1.ebuild, |
34 |
+ +files/gorg-0.6.4-ruby19-date.patch, +files/gorg-0.6.4-ruby19.patch: |
35 |
+ Convert to ruby-ng.eclass. Add ruby19 support. Thanks to naota for patches |
36 |
+ and testing in bug 315487. |
37 |
|
38 |
09 Apr 2011; Hans de Graaff <graaff@g.o> gorg-0.6.3-r2.ebuild, |
39 |
gorg-0.6.4.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-servers/gorg/gorg-0.6.4-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gorg/gorg-0.6.4-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gorg/gorg-0.6.4-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gorg-0.6.4-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/gorg-0.6.4-r1.ebuild,v 1.1 2011/12/04 10:12:59 graaff Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
USE_RUBY="ruby18 ruby19" |
56 |
|
57 |
inherit ruby-ng eutils |
58 |
|
59 |
DESCRIPTION="Back-end XSLT processor for an XML-based web site" |
60 |
HOMEPAGE="http://www.gentoo.org/proj/en/gdp/doc/gorg.xml" |
61 |
SRC_URI="http://gentoo.neysx.org/mystuff/gorg/${P}.tgz" |
62 |
IUSE="fastcgi mysql" |
63 |
|
64 |
SLOT="0" |
65 |
LICENSE="GPL-2" |
66 |
KEYWORDS="~amd64 ~ppc ~x86" |
67 |
|
68 |
CDEPEND=" |
69 |
>=dev-libs/libxml2-2.6.16 |
70 |
>=dev-libs/libxslt-1.1.12" |
71 |
DEPEND="${DEPEND} ${CDEPEND}" |
72 |
RDEPEND="${RDEPEND} ${CDEPEND} |
73 |
fastcgi? ( virtual/httpd-fastcgi )" |
74 |
|
75 |
ruby_add_rdepend " |
76 |
mysql? ( >=dev-ruby/ruby-dbi-0.0.21[mysql] ) |
77 |
fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.5-r1 )" |
78 |
|
79 |
pkg_setup() { |
80 |
enewgroup gorg |
81 |
enewuser gorg -1 -1 -1 gorg |
82 |
} |
83 |
|
84 |
all_ruby_prepare() { |
85 |
epatch "${FILESDIR}/${P}-ruby19.patch" |
86 |
epatch "${FILESDIR}/${P}-ruby19-date.patch" |
87 |
} |
88 |
|
89 |
each_ruby_configure() { |
90 |
${RUBY} setup.rb config --prefix=/usr || die |
91 |
} |
92 |
|
93 |
each_ruby_compile() { |
94 |
${RUBY} setup.rb setup || die |
95 |
} |
96 |
|
97 |
each_ruby_install() { |
98 |
${RUBY} setup.rb config --prefix="${D}"/usr || die |
99 |
${RUBY} setup.rb install || die |
100 |
|
101 |
# install doesn't seem to chmod these correctly, forcing it here |
102 |
SITE_LIB_DIR=$(ruby_rbconfig_value 'sitelibdir') |
103 |
chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi |
104 |
chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi |
105 |
} |
106 |
|
107 |
all_ruby_install() { |
108 |
keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/* |
109 |
diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg |
110 |
|
111 |
dodoc Changelog README |
112 |
} |