summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-09-09 09:16:08 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-09-09 09:16:08 +0000
commit1c4d24f63964bb08e587ffbeda664d14fa229730 (patch)
treed2c92540462bd21716622f4eb3cccaa474e795e1 /www-apps/eyeos/eyeos-1.8.7.0.ebuild
parentVersion bump. (diff)
downloadgentoo-2-1c4d24f63964bb08e587ffbeda664d14fa229730.tar.gz
gentoo-2-1c4d24f63964bb08e587ffbeda664d14fa229730.tar.bz2
gentoo-2-1c4d24f63964bb08e587ffbeda664d14fa229730.zip
Initial commit, from my overlay version
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/eyeos/eyeos-1.8.7.0.ebuild')
-rw-r--r--www-apps/eyeos/eyeos-1.8.7.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/www-apps/eyeos/eyeos-1.8.7.0.ebuild b/www-apps/eyeos/eyeos-1.8.7.0.ebuild
new file mode 100644
index 000000000000..ddba6b40e36a
--- /dev/null
+++ b/www-apps/eyeos/eyeos-1.8.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/eyeos-1.8.7.0.ebuild,v 1.1 2009/09/09 09:16:08 voyageur Exp $
+
+inherit depend.php versionator webapp eutils
+
+DESCRIPTION="AJAX web-based desktop environment"
+HOMEPAGE="http://wwwwww.eyeos.org"
+if [[ $(get_version_component_count) < 5 ]]; then
+ SRC_URI="mirror://sourceforge/eyeos/eyeOS_$(get_version_component_range 1-4).zip"
+else
+ SRC_URI="mirror://sourceforge/eyeos/eyeOS_$(get_version_component_range 1-4)-$(get_version_component_range 5).zip"
+fi
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+need_httpd_cgi
+need_php_httpd
+
+S=${WORKDIR}/eyeOS
+
+src_install () {
+ webapp_src_preinst
+
+ dodoc README.txt
+ rm -f README.txt
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ #TODO: needs "." too
+ for file in index.html package.eyepackage installer installer/index.php installer/files/index.txt installer/files/settings.txt; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${file}"
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}