# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Maintainer: Don Seiler # $Header: /var/cvsroot/gentoo-x86/net-p2p/zuul/zuul-1.2.0.ebuild,v 1.6 2004/06/25 00:37:26 agriffis Exp $ inherit webapp DESCRIPTION="Zuul is yet another PHP front-end for mldonkey." HOMEPAGE="http://zuul.sourceforge.net" SRC_URI="mirror://sourceforge/zuul/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" KEYWORDS="x86 ~ppc ~alpha" DEPEND="net-www/webapp-config" RDEPEND="virtual/php >=net-p2p/mldonkey-2.5" IUSE="" pkg_compile() { :; } src_install() { webapp_src_preinst cd ${S} einfo "Installing main files" cp ${S}/conf/config.php.sample ${S}/conf/config.php cp -r . ${D}/${MY_HTDOCSDIR} rm -rf ${D}/${MY_HTDOCSDIR}/docs dodoc ${S}/docs/* # add post-installation instructions webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt # add the reconfigure hook webapp_hook_script ${FILESDIR}/reconfig webapp_src_install } pkg_postinst() { einfo "The first stage of the installation is done. Now you need to setup your virtual hosts via webapp-config" einfo "Please read man webapp-config for a detailed description of the process and some examples" webapp_pkg_postinst }