From 4cf45e23c3671002ed16939258e2791144850f23 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Sun, 4 Dec 2005 14:40:50 +0000 Subject: Version bump for claroline svn path=/; revision=552 --- Makefile | 2 +- www-apps/claroline/claroline-1.7.0.ebuild | 70 ------------------------------- www-apps/claroline/claroline-1.7.1.ebuild | 70 +++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 www-apps/claroline/claroline-1.7.0.ebuild create mode 100644 www-apps/claroline/claroline-1.7.1.ebuild diff --git a/Makefile b/Makefile index 7efa20b..1de7b12 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ EBUILDS=app-admin/webapp-config/webapp-config-1.50.2.package \ net-zope/viewlet/viewlet-20051102.package \ sys-libs/pam_exim/pam_exim-0.77-r1.package \ www-apps/aeromail/aeromail-2.41.package \ - www-apps/claroline/claroline-1.7.0.package \ + www-apps/claroline/claroline-1.7.1.package \ www-apps/hypermail/hypermail-2.2.0.package \ www-apps/knowledgetree/knowledgetree-2.0.7.package \ www-apps/phpicalendar/phpicalendar-2.0.1.package \ diff --git a/www-apps/claroline/claroline-1.7.0.ebuild b/www-apps/claroline/claroline-1.7.0.ebuild deleted file mode 100644 index bc569c8..0000000 --- a/www-apps/claroline/claroline-1.7.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2005 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit webapp depend.php - -MYP=${PN}${PV//./} - -DESCRIPTION="Claroline E-learning System" -HOMEPAGE="http://www.claroline.net/" -SRC_URI="http://www.claroline.net/dlarea/${MYP}.tar.gz" -LICENSE="GPL-2" -KEYWORDS="~x86" - -IUSE="" -RDEPEND="net-www/apache - virtual/php - >=dev-db/mysql-3.23" - -S=${WORKDIR}/${MYP} - -pkg_setup() { - - webapp_pkg_setup - - require_php_with_use tokenizer - -} - -src_install() { - - webapp_src_preinst - - cd ${S} - - ## Install documentation - DOCS="CREDITS.txt INSTALL.txt README.txt" - dodoc ${DOCS} - - ## Install application - cp -R . ${D}/${MY_HTDOCSDIR} - - ## Remove unnecessary documentation from webdir - for file in ${DOCS} LICENCE.txt - do - rm ${D}/${MY_HTDOCSDIR}/${file} - done - - touch ${D}/${MY_HTDOCSDIR}/claroline/inc/currentVersion.inc.php - cp ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html - cp ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html - - mkdir ${D}/${MY_HTDOCSDIR}/courses - sed -i -e 's#^\$coursesRepositoryAppend.*#\$coursesRepositoryAppend="courses/";#' ${D}/${MY_HTDOCSDIR}/claroline/install/do_install.inc.php - - SFILES="courses claroline claroline/inc/conf claroline/sql \ - claroline/inc/currentVersion.inc.php claroline/lang claroline/admin \ - claroline/inc/conf/* textzone_right.inc.html textzone_top.inc.html \ - textzone_right.inc.html.dist textzone_top.inc.html.dist" - - for FILE in ${SFILES} - do - webapp_serverowned ${MY_HTDOCSDIR}/${FILE}; - done - - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - - webapp_src_install -} - diff --git a/www-apps/claroline/claroline-1.7.1.ebuild b/www-apps/claroline/claroline-1.7.1.ebuild new file mode 100644 index 0000000..bc569c8 --- /dev/null +++ b/www-apps/claroline/claroline-1.7.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2005 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +MYP=${PN}${PV//./} + +DESCRIPTION="Claroline E-learning System" +HOMEPAGE="http://www.claroline.net/" +SRC_URI="http://www.claroline.net/dlarea/${MYP}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86" + +IUSE="" +RDEPEND="net-www/apache + virtual/php + >=dev-db/mysql-3.23" + +S=${WORKDIR}/${MYP} + +pkg_setup() { + + webapp_pkg_setup + + require_php_with_use tokenizer + +} + +src_install() { + + webapp_src_preinst + + cd ${S} + + ## Install documentation + DOCS="CREDITS.txt INSTALL.txt README.txt" + dodoc ${DOCS} + + ## Install application + cp -R . ${D}/${MY_HTDOCSDIR} + + ## Remove unnecessary documentation from webdir + for file in ${DOCS} LICENCE.txt + do + rm ${D}/${MY_HTDOCSDIR}/${file} + done + + touch ${D}/${MY_HTDOCSDIR}/claroline/inc/currentVersion.inc.php + cp ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html + cp ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html + + mkdir ${D}/${MY_HTDOCSDIR}/courses + sed -i -e 's#^\$coursesRepositoryAppend.*#\$coursesRepositoryAppend="courses/";#' ${D}/${MY_HTDOCSDIR}/claroline/install/do_install.inc.php + + SFILES="courses claroline claroline/inc/conf claroline/sql \ + claroline/inc/currentVersion.inc.php claroline/lang claroline/admin \ + claroline/inc/conf/* textzone_right.inc.html textzone_top.inc.html \ + textzone_right.inc.html.dist textzone_top.inc.html.dist" + + for FILE in ${SFILES} + do + webapp_serverowned ${MY_HTDOCSDIR}/${FILE}; + done + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} + -- cgit v1.2.3-65-gdbad