# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp eutils DESCRIPTION="eyeOS is a AJAX web-based desktop enviornment." HOMEPAGE="http://www.eyeos.org" SRC_URI="mirror://sourceforge/eyeos/eyeOS_${PV}.tar.gz" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc x86" S=${WORKDIR}/eyeOS IUSE="" RDEPEND="virtual/php net-www/apache" pkg_setup () { webapp_pkg_setup } src_install () { webapp_src_preinst local docs="README.txt" local files="eyeOS101.eyepackage install.php img/default.jpg img/installText.png img/logo.png img/window.png" echo "Current directory: `pwd`" echo "Destination directory: ${D}${MY_HTDOCSDIR}" cp -R . ${D}${MY_HTDOCSDIR} for file in ${files}; do webapp_serverowned "${MY_HTDOCSDIR}/${file}" done dodoc ${docs} for doc in ${docs} INSTALL; do rm -f ${doc} done webapp_src_install } pkg_postinst () { webapp_pkg_postinst }