Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145674 - EBUILD: www-apps/roundcube (web-app)
Summary: EBUILD: www-apps/roundcube (web-app)
Status: VERIFIED DUPLICATE of bug 109170
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 23:13 UTC by Josh
Modified: 2006-09-03 08:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh 2006-08-30 23:13:58 UTC
I just changed the name of the ebuild to: roundcube-0.1_beta2.ebuild

file contents (the same as the previous ebuild):


# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit webapp eutils versionator depend.php

MY_PV=$(replace_version_separator 2 '')
DESCRIPTION="A browser-based multilingual IMAP client using AJAX"
HOMEPAGE="http://www.roundcube.net"
SRC_URI="mirror://sourceforge/${PN}mail/${PN}mail-${MY_PV}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~x86"
S=${WORKDIR}/${PN}mail-${MY_PV}

IUSE="mysql postgres sqlite"

RDEPEND="mysql? ( >=dev-db/mysql-4 )
        postgres? ( dev-db/postgresql )
        sqlite? ( =dev-db/sqlite-2.8* >=dev-lang/php-5* )
        virtual/httpd-php
        dev-php/PEAR-DB
        net-www/apache
"

pkg_setup() {
        webapp_pkg_setup
        require_php_with_use pcre
        if use mysql ; then
                require_php_with_use mysql
        fi
        if use sqlite ; then
                require_php_with_use sqlite
        fi
}

src_unpack() {
        unpack ${A}
        cd ${S}/config
        mv db.inc.php.dist db.inc.php
        mv main.inc.php.dist main.inc.php
}

src_install () {
        webapp_src_preinst
        dodoc CHANGELOG INSTALL README UPGRADING

        cp -R [[:lower:]]* SQL ${D}/${MY_HTDOCSDIR}

        webapp_serverowned ${MY_HTDOCSDIR}/logs
        webapp_serverowned ${MY_HTDOCSDIR}/temp

        webapp_configfile ${MY_HTDOCSDIR}/config/{db,main}.inc.php
        webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
        webapp_postupgrade_txt en UPGRADING
        webapp_src_install
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 00:21:46 UTC

*** This bug has been marked as a duplicate of 109170 ***
Comment 2 Conrad Kostecki gentoo-dev 2006-09-02 07:12:09 UTC
www-apps/roundcube 

Why is it taken from portage?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 07:18:50 UTC
(In reply to comment #2)
> www-apps/roundcube 
> 
> Why is it taken from portage?
> 

Maybe read the other bug? Never been in portage, and won't be anytime soon, it's alpha development stage package.
Comment 4 Conrad Kostecki gentoo-dev 2006-09-03 08:38:29 UTC
No?
Well i could swear that I saw it in Portage :P

Ok, thx :)