# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp eutils DESCRIPTION="Wordpress php and mysql based CMS system." HOMEPAGE="http://vhcp.sf.net/" #Download is renamed by HTTP Header as wordpress-.tar.gz SRC_URI=mirror://sourceforge/vhcp/${PN}_v${PV}.tar.gz LICENSE="GPL-2" KEYWORDS="amd64 hppa ppc sparc x86" IUSE="" RDEPEND="net-www/apache dev-lang/php >=dev-db/mysql-3.23.23" DEPEND="${DEPEND} ${RDEPEND}" S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} } src_install() { webapp_src_preinst einfo "Copying main files" cp -r * ${D}${MY_HTDOCSDIR} einfo "Done" webapp_src_install } pkg_postinst() { einfo "Thank you to have installed VHCP -Verlihub Control Panel" echo einfo "Now let's go to the configuration of the file permissions and of VHCP config file" einfo "1) Go into your localhost folder" einfo "2) Start the config script: ./vhcp_install.sh" einfo "3) Follow the instructions on the screen to enable or disable the modules" einfo "4) Now your VHCP is ready" echo einfo "Open your broswer @ http://${VHOST_HOSTNAME}/vhcp and enjoy ;)" echo einfo "The Home page of the projects is located @ http://vhcp.sf.net/" einfo "To report bugs go to our forums @ http://www.verlihubforums.com/forumdisplay.php?f=32" webapp_pkg_postinst }