From: | "TomAs Touceda (chiiph)" <chiiph@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apps/wiliki: wiliki-0.6.1.ebuild metadata.xml ChangeLog |
Date: | Fri, 02 Jul 2010 00:21:38 |
Message-Id: | 20100702002132.DC4922C621@corvid.gentoo.org |
1 | chiiph 10/07/02 00:21:32 |
2 | |
3 | Added: wiliki-0.6.1.ebuild metadata.xml ChangeLog |
4 | Log: |
5 | WiLiKi initial commit. Thanks to vadimk |
6 | (Portage version: 2.2_rc67/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 www-apps/wiliki/wiliki-0.6.1.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/wiliki-0.6.1.ebuild?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/wiliki-0.6.1.ebuild?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wiliki-0.6.1.ebuild |
15 | =================================================================== |
16 | # Copyright 1999-2010 Gentoo Foundation |
17 | # Distributed under the terms of the GNU General Public License v2 |
18 | # $Header: /var/cvsroot/gentoo-x86/www-apps/wiliki/wiliki-0.6.1.ebuild,v 1.1 2010/07/02 00:21:32 chiiph Exp $ |
19 | |
20 | EAPI="3" |
21 | |
22 | inherit webapp eutils |
23 | |
24 | MY_PN="WiLiKi" |
25 | MY_P=${MY_PN}-${PV} |
26 | |
27 | DESCRIPTION="WiLiKi is a lightweight Wiki engine written in and running on Gauche Scheme." |
28 | HOMEPAGE="http://practical-scheme.net/wiliki/" |
29 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" |
30 | |
31 | LICENSE="BSD" |
32 | SLOT="0" |
33 | KEYWORDS="~amd64 ~x86" |
34 | IUSE="cgi fastcgi" |
35 | |
36 | DEPEND="dev-scheme/gauche |
37 | cgi? ( virtual/httpd-cgi ) |
38 | fastcgi? ( virtual/httpd-fastcgi )" |
39 | RDEPEND="${DEPEND}" |
40 | |
41 | need_httpd_cgi |
42 | |
43 | WEBAPP_MANUAL_SLOT="yes" |
44 | |
45 | S="${WORKDIR}"/${MY_P} |
46 | |
47 | src_prepare() { |
48 | epatch "${FILESDIR}"/${PN}-po-gentoo.patch |
49 | epatch "${FILESDIR}"/${P}-cgi-gentoo.patch |
50 | } |
51 | |
52 | src_install() { |
53 | webapp_src_preinst |
54 | emake DESTDIR="${D}" install || die "Install failed" |
55 | |
56 | insinto "${MY_CGIBINDIR}" |
57 | doins -r src/wiliki.cgi src/wiliki2.cgi || die "doins failed" |
58 | fperms +x "${MY_CGIBINDIR}"/wiliki.cgi || die "fperms failed" |
59 | |
60 | insinto "${MY_HTDOCSDIR}" |
61 | doins src/wiliki.css src/wiliki2.css || die "doins failed" |
62 | |
63 | dodir "${MY_HOSTROOTDIR}"/${PF}/data || die "dodir failed" |
64 | webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/data |
65 | |
66 | webapp_src_install |
67 | } |
68 | |
69 | pkg_postinst() { |
70 | einfo |
71 | einfo "Quickstart:" |
72 | einfo " modify wiliki.cgi to customize the WiLiKi's behavior" |
73 | einfo " modify wiliki.css to customize the WiLiKi's look" |
74 | einfo |
75 | einfo " http://localhost/cgi-bin/wiliki.cgi" |
76 | einfo |
77 | |
78 | webapp_pkg_postinst |
79 | } |
80 | |
81 | |
82 | |
83 | 1.1 www-apps/wiliki/metadata.xml |
84 | |
85 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/metadata.xml?rev=1.1&view=markup |
86 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/metadata.xml?rev=1.1&content-type=text/plain |
87 | |
88 | Index: metadata.xml |
89 | =================================================================== |
90 | <?xml version="1.0" encoding="UTF-8"?> |
91 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
92 | <pkgmetadata> |
93 | <herd>scheme</herd> |
94 | <longdescription> |
95 | WiLiKi is a lightweight Wiki Engine written in Scheme. |
96 | |
97 | WiLiKi is yet another Wiki-clone suitable for intra-net collaborative work |
98 | in multilingual environment. The features include multiple back-end |
99 | databases, permission and version control, and easy access from other |
100 | programs. |
101 | |
102 | http://practical-scheme.net/wiliki/ |
103 | </longdescription> |
104 | </pkgmetadata> |
105 | |
106 | |
107 | |
108 | 1.1 www-apps/wiliki/ChangeLog |
109 | |
110 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/ChangeLog?rev=1.1&view=markup |
111 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/wiliki/ChangeLog?rev=1.1&content-type=text/plain |
112 | |
113 | Index: ChangeLog |
114 | =================================================================== |
115 | # ChangeLog for www-apps/wiliki |
116 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
117 | # $Header: /var/cvsroot/gentoo-x86/www-apps/wiliki/ChangeLog,v 1.1 2010/07/02 00:21:32 chiiph Exp $ |
118 | |
119 | *wiliki-0.6.1 (02 Jul 2010) |
120 | |
121 | 02 Jul 2010; Tomas Touceda <chiiph@g.o> +wiliki-0.6.1.ebuild, |
122 | +files/wiliki-0.6.1-cgi-gentoo.patch, +files/wiliki-po-gentoo.patch, |
123 | +metadata.xml: |
124 | WiLiKi initial commit. Thanks to vadimk |