diff options
author | 2008-02-20 01:44:55 +0000 | |
---|---|---|
committer | 2008-02-20 01:44:55 +0000 | |
commit | 7e3b1c2ff6c5b52d4453bb0baae930563943b38c (patch) | |
tree | cb6610fa5f4a245dc350232c5a03e19bdf6fb93d | |
parent | Need a repo_name now... (diff) | |
download | user-7e3b1c2ff6c5b52d4453bb0baae930563943b38c.tar.gz user-7e3b1c2ff6c5b52d4453bb0baae930563943b38c.tar.bz2 user-7e3b1c2ff6c5b52d4453bb0baae930563943b38c.zip |
Try wordpress-mu
svn path=/user/; revision=71
-rw-r--r-- | www-apps/wordpress-mu/Manifest | 2 | ||||
-rw-r--r-- | www-apps/wordpress-mu/wordpress-mu-1.3.3.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/www-apps/wordpress-mu/Manifest b/www-apps/wordpress-mu/Manifest new file mode 100644 index 0000000..8f0c698 --- /dev/null +++ b/www-apps/wordpress-mu/Manifest @@ -0,0 +1,2 @@ +DIST wordpress-mu-1.3.3.tar.gz 967058 RMD160 08dfbb077caa72ea1628266db4b9a707b906d65b SHA1 0efba5ff9f0d1049ad46be32533001204e70a77c SHA256 a8d2f0b8baac95f4ad6a094c2b3634e36dbd81f254b687914af76ce70cd7a233 +EBUILD wordpress-mu-1.3.3.ebuild 1531 RMD160 2d11da5a3dc76f5da4c918d5dbe0be0f1a21043f SHA1 67a91782afabd9956595298c2a98c37de53e6e8a SHA256 11836739dc386bd951d7a77e8915b49f29448c3abc27b590f60223a56ad59132 diff --git a/www-apps/wordpress-mu/wordpress-mu-1.3.3.ebuild b/www-apps/wordpress-mu/wordpress-mu-1.3.3.ebuild new file mode 100644 index 0000000..86b62f1 --- /dev/null +++ b/www-apps/wordpress-mu/wordpress-mu-1.3.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.3.3.ebuild,v 1.1 2008/02/15 09:35:52 wrobel Exp $ + +inherit webapp eutils depend.php + +DESCRIPTION="Multi-user Wordpress php and mysql based CMS system." +HOMEPAGE="http://mu.wordpress.org/" +SRC_URI="http://mu.wordpress.org/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="virtual/httpd-cgi" + +#S="${WORKDIR}/${PN}" + +need_php + +pkg_setup() { + webapp_pkg_setup + + require_php_with_any_use mysql mysqli + require_php_with_use pcre +} + +src_install() { + local docs="license.txt readme.html" + + webapp_src_preinst + + cp wp-config-sample.php wp-config.php + cp -r * "${D}${MY_HTDOCSDIR}" + + # handle documentation files + # + # NOTE that doc files go into /usr/share/doc as normal; they do NOT + # get installed per vhost! + + dodoc ${docs} + for doc in ${docs} INSTALL; do + rm -f "${D}${MY_HTDOCSDIR}/${doc}" + done + + # Identify files/directory that should be writeable to + # the web server + webapp_serverowned "${MY_HTDOCSDIR}"/index.php + webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php + webapp_serverowned "${MY_HTDOCSDIR}" + + # Identify the configuration files that this app uses + # User may want to make changes to these! + webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt + + webapp_src_install +} |