# Copy:right 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp DESCRIPTION="Web-based media streamer, desgined to stream mp3s (or any streaming capbable media/video)" HOMEPAGE="http://www.jinzora.org/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="gd" DEPEND=">=net-www/apache-1.3 >=dev-php/mod_php-4.0 gd? ( media-libs/gd )" S=${WORKDIR}/${PN} src_install() { webapp_src_preinst # install htdocs touch ${S}/users.php ${S}/settings.php cp -a . ${D}/${MY_HTDOCSDIR} # config files webapp_configfile ${MY_HTDOCSDIR}/users.php webapp_configfile ${MY_HTDOCSDIR}/settings.php # owned files for file in `find ${MY_INSTALLDIR}/{data,temp} -type d`; do webapp_serverowned ${file} done webapp_serverowned ${MY_HTDOCSDIR}/users.php webapp_serverowned ${MY_HTDOCSDIR}/settings.php webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install }