mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
www-apps/wordpress: version bump
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST wordpress-4.2.4.tar.gz 6313249 SHA256 42ca594afc709cbef8528a6096f5a1efe96dcf3164e7ce321e87d57ae015cc82 SHA512 f0f3030d12ac19b0e2ffc5692e02f3e9137b31a0b47fa64a02265ca535f37a12afe816ed728623cab4537e22f8d5e7637f0cb059d3cf875620abd6e797c154ba WHIRLPOOL 865e22ceb71fa8b63401077f2c13bd0f0a6698a1361781f762659804019afe0bee06ba1edb593d25fcb52849156223eae2c248387db4b73bc07bc8410e52673a
|
||||
DIST wordpress-4.3.tar.gz 6524201 SHA256 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4 SHA512 d40723efa4aac41ade734d35f985397679e4e72657724ff47a0783205ca51ce7477973e3a7bc73550a4e3d1b523991d6ece09ff652032b746adb96207de6eca1 WHIRLPOOL 474b03255ae381e6b92ae5bf094596bcd3fcd12e11271bd68d091fcce27b80ab922d3c240f2eaa2509ad603edb34a78639145b3fe6bf19a9d367fa334c4beaea
|
||||
|
||||
60
www-apps/wordpress/wordpress-4.3.ebuild
Normal file
60
www-apps/wordpress/wordpress-4.3.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
|
||||
HOMEPAGE="https://wordpress.org/"
|
||||
SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
IUSE="+akismet examples +themes vhosts"
|
||||
|
||||
# Override default of SLOT="${PVR}"
|
||||
WEBAPP_MANUAL_SLOT=yes
|
||||
SLOT="${PV}"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dohtml readme.html
|
||||
rm readme.html license.txt || die
|
||||
|
||||
if ! use akismet ; then
|
||||
rm -R wp-content/plugins/akismet/ || die
|
||||
fi
|
||||
if ! use examples ; then
|
||||
rm wp-content/plugins/hello.php || die
|
||||
fi
|
||||
if ! use themes ; then
|
||||
rm -R wp-content/themes/*/ || die
|
||||
fi
|
||||
|
||||
[[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/index.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user