Gentoo ebuild for Group-Office 2.11a

Having trouble installing Group-Office? No worries. Help is on the way.

Moderator: Developers

Guest

Gentoo ebuild for Group-Office 2.11a

Postby Guest » Thu Feb 10, 2005 9:45 pm

    1) cd /usr/portage/www-apps/groupoffice/
    2) vi groupoffice-2.11a.ebuild
    3) cut/paste in the following

    Code: Select all

    # Copyright 1999-2004 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: /var/cvsroot/gentoo-x86/www-apps/groupoffice/groupoffice-2.11a.ebuild,v 1.1 2005/02/09 14:44:38 mholzer Exp $

    inherit webapp

    S=${WORKDIR}/${PN}-com-${PV}
    DESCRIPTION="Group-Office is a powerful modular Intranet application framework. It runs *nix using PHP and has several database support."
    HOMEPAGE="http://group-office.sourceforge.net/"
    SRC_URI="mirror://sourceforge/group-office/${PN}-com-${PV}.tar.gz"

    LICENSE="GPL-2"
    KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~sparc"
    IUSE=""
    DEPEND="virtual/php
        dev-db/mysql"

    src_install() {
        webapp_src_preinst

        cd ${S}
        dodoc CHANGELOG DEVELOPERS FAQ INSTALL RELEASE README.ldap TODO TRANSLATORS
        rm -f CHANGELOG FAQ INSTALL README.ldap TODO TRANSLATORS

        cp -r . ${D}${MY_HTDOCSDIR}
        webapp_serverowned ${MY_HTDOCSDIR}

        webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt

        webapp_src_install
    }

    3) ebuild groupoffice-2.11a.ebuild digest
    4) emerge groupoffice-2.11a.ebuild

It will automatically upgrade any installed version to 2.11a. Enjoy.

P

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 1 guest