mds/www-apps/glpi/glpi-0.78.2.ebuild
geos_one 3e3f088e04 www-apps/glpi: Bump
(Portage version: 2.2.0_alpha17-r1/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2808 6952d904-891a-0410-993b-d76249ca496b
2011-01-21 15:14:23 +00:00

41 lines
845 B
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp eutils
DESCRIPTION="GLPI is the Information Resource-Manager with an additional Administration- Interface"
HOMEPAGE="http://glpi-project.org/"
SRC_URI="https://forge.indepnet.net/attachments/download/772/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="${DEPEND}
app-admin/webapp-config"
RDEPEND="${DEPEND}
virtual/php
virtual/mysql"
S=${WORKDIR}/"glpi"
src_install() {
webapp_src_preinst
einfo "Copying main files"
cd ${S}
cp -r . ${D}/${MY_HTDOCSDIR} || die
#All files must be owned by server
for i in $(find . -print) ; do
webapp_serverowned ${MY_HTDOCSDIR}/$i || die
done
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_src_install
}