/[gentoo-x86]/mail-client/roundcube/roundcube-0.8.1.ebuild
Gentoo

Contents of /mail-client/roundcube/roundcube-0.8.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jan 13 06:58:54 2013 UTC (4 months, 1 week ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-0.8.1.ebuild,v 1.5 2012/11/29 16:20:08 ago Exp $
4
5 EAPI="4"
6
7 inherit webapp
8
9 MY_PN="${PN}mail"
10 MY_P="${MY_PN}-${PV/_/-}"
11 DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
12 HOMEPAGE="http://roundcube.net"
13 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
14
15 # roundcube is GPL-licensed, the rest of the licenses here are
16 # for bundled PEAR components, googiespell and utf8.class.php
17 LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
18 KEYWORDS="amd64 arm ~hppa ppc ~ppc64 ~sparc x86"
19 IUSE="ldap +mysql postgres ssl spell"
20
21 RDEPEND="virtual/httpd-php
22 >=dev-lang/php-5.3[crypt,gd,iconv,json,ldap?,postgres?,session,sockets,ssl?,xml,unicode]
23 mysql? (
24 || ( dev-lang/php[mysql] dev-lang/php[mysqli] )
25 || ( dev-php/PEAR-MDB2_Driver_mysql dev-php/PEAR-MDB2_Driver_mysqli )
26 )
27 postgres? ( dev-php/PEAR-MDB2_Driver_pgsql )
28 spell? ( dev-lang/php[curl,spell] )
29 >=dev-php/PEAR-MDB2-2.5.0_beta3
30 >=dev-php/PEAR-Mail_Mime-1.8.1
31 >=dev-php/PEAR-Net_SMTP-1.4.2
32 >=dev-php/PEAR-Net_IDNA2-0.1.1
33 >=dev-php/PEAR-Auth_SASL-1.0.3"
34
35 need_httpd_cgi
36
37 S=${WORKDIR}/${MY_P}
38
39 src_prepare() {
40 cp config/db.inc.php{.dist,} || die
41 cp config/main.inc.php{.dist,} || die
42
43 # Remove bundled PEAR packages
44 rm -r program/lib/{Auth,Mail,MDB2*,Net,PEAR*} || die
45 }
46
47 src_install() {
48 webapp_src_preinst
49 dodoc CHANGELOG INSTALL README.md UPGRADING
50
51 insinto "${MY_HTDOCSDIR}"
52 doins -r [[:lower:]]* SQL
53 doins .htaccess
54
55 webapp_serverowned "${MY_HTDOCSDIR}"/logs
56 webapp_serverowned "${MY_HTDOCSDIR}"/temp
57
58 webapp_configfile "${MY_HTDOCSDIR}"/config/{db,main}.inc.php
59 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.6.txt
60 webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en-0.6.txt
61 webapp_postupgrade_txt en UPGRADING
62 webapp_src_install
63 }

  ViewVC Help
Powered by ViewVC 1.1.13