/[gentoo-x86]/www-apps/b2evolution/b2evolution-1.8.0.ebuild
Gentoo

Contents of /www-apps/b2evolution/b2evolution-1.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 28 01:35:48 2007 UTC (11 years, 8 months ago) by dsd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove dependency on local mysql daemon, bug #159781
(Portage version: 2.1.2-r4)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-1.8.0.ebuild,v 1.3 2006/11/23 16:23:46 vivo Exp $
4
5 inherit webapp eutils
6
7 MY_EXT="-2006-07-09"
8
9 DESCRIPTION="Multilingual multiuser multi-blog engine"
10 HOMEPAGE="http://www.b2evolution.net"
11 SRC_URI="mirror://sourceforge/evocms/${P}${MY_EXT}.zip"
12 LICENSE="GPL-2"
13 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
14 IUSE=""
15 RDEPEND="virtual/httpd-php
16 virtual/mysql"
17
18 DEPEND="${DEPEND} ${RDEPEND}
19 app-arch/unzip"
20
21 S="${WORKDIR}/${PN}"
22
23 pkg_setup() {
24 webapp_pkg_setup
25 has_php
26 if [[ ${PHP_VERSION} == "4" ]]; then
27 require_php_with_use expat
28 else
29 require_php_with_use xml
30 fi
31 }
32
33 pkg_setup() {
34 webapp_pkg_setup
35 require_php_with_use tokenizer mysql
36 }
37
38 src_install() {
39 webapp_src_preinst
40
41 einfo "Installing main files"
42 cp -r blogs/* ${D}${MY_HTDOCSDIR}
43 einfo "Done"
44
45 dodoc doc/license.txt doc/install_new.html doc/upgradefrom_b2evo.html doc/upgradefrom_b2.html \
46 doc/upgradefrom_gl.html doc/upgradefrom_miniblog.html doc/upgradefrom_mt.html
47
48 # Identify the configuration files that this app uses
49 # User can want to make changes to these!
50 webapp_serverowned ${MY_HTDOCSDIR}
51 webapp_serverowned ${MY_HTDOCSDIR}/conf/_basic_config.php
52 webapp_configfile ${MY_HTDOCSDIR}/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php
53
54 # post-install instructions
55 webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
56
57 # now strut stuff
58 webapp_src_install
59 }

  ViewVC Help
Powered by ViewVC 1.1.20