/[gentoo-x86]/www-apps/eyeos/eyeos-2.5.ebuild
Gentoo

Contents of /www-apps/eyeos/eyeos-2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 23 08:36:57 2011 UTC (3 years, 1 month ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.2.0_alpha34/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/eyeos-2.4.1.ebuild,v 1.1 2011/04/22 09:53:11 voyageur Exp $
4
5 EAPI="4"
6 inherit depend.php webapp eutils
7
8 DESCRIPTION="AJAX web-based desktop environment"
9 HOMEPAGE="http://www.eyeos.org"
10 SRC_URI="mirror://sourceforge/eyeos/eyeos2/${P}.tar.gz"
11
12 LICENSE="AGPL-3"
13 KEYWORDS="~amd64 ~x86"
14 IUSE=""
15
16 DEPEND=""
17 need_httpd_cgi
18 need_php_httpd
19
20 # http://wiki.eyeos.org/EyeOS_Requirements
21 RDEPEND="dev-lang/php[curl,crypt,gd,json,mysql,mysqli,pdo,sharedmem,sqlite]"
22
23 S=${WORKDIR}
24
25 src_install() {
26 webapp_src_preinst
27
28 insinto "${MY_HTDOCSDIR}"
29 doins -r .
30
31 # Placeholder for first install
32 touch "${ED}/${MY_HTDOCSDIR}"/settings.php
33 webapp_configfile "${MY_HTDOCSDIR}"/settings.php
34 webapp_serverowned "${MY_HTDOCSDIR}"/settings.php
35
36 # Ugly, but eyeos needs write access in too many places
37 webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/system
38 webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/tmp
39 webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/users
40
41 webapp_src_install
42 }
43
44 pkg_postinst() {
45 elog "To finish your install/upgrade, point your browser to the eyeOS installer at:"
46 elog " http://${VHOST_HOSTNAME}/${PN}/install/"
47 elog "Specific extensions may require additional packages (available or not in"
48 elog "portage), check the installer output"
49 webapp_pkg_postinst
50 }

  ViewVC Help
Powered by ViewVC 1.1.20