# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp eutils MY_P="SPIP-v1-8" S=${WORKDIR}/${MY_P} DESCRIPTION="SPIP is a publishing system developped by the minirezo to manage \ the site uzine" HOMEPAGE="http://www.spip.net/" SRC_URI="http://www.spip.net/spip-dev/DISTRIB/${MY_P}.zip" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" # defined in webapp #SLOT="${PVR}" DEPEND="$DEPEND app-arch/unzip virtual/php dev-db/mysql" src_unpack() { cd ${WORKDIR} unpack ${MY_P}.zip } src_compile() { echo "Nothing to compile" } src_install() { webapp_src_preinst einfo "Copying main files" cp -r . ${D}/${MY_HTDOCSDIR} #All files must be owned by server for x in `find . -type f -print` ; do webapp_serverowned ${MY_HTDOCSDIR}/$x done for x in "CACHE IMG ecrire ecrire/data" ; do webapp_serverowned ${MY_HTDOCSDIR}/$x done webapp_src_install }