summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-08-31 19:54:02 -0400
committerBrian Evans <grknight@gentoo.org>2015-08-31 19:54:02 -0400
commita4eaf71affe7bc4c15093282c229922927cfbb3b (patch)
tree673f702819081795e1fe9f17c1030a754e8a0769 /dev-php
parentsys-boot/os-prober: Remove old (diff)
downloadgentoo-a4eaf71affe7bc4c15093282c229922927cfbb3b.tar.gz
gentoo-a4eaf71affe7bc4c15093282c229922927cfbb3b.tar.bz2
gentoo-a4eaf71affe7bc4c15093282c229922927cfbb3b.zip
dev-php/ZendFramework: add src_unpack to move unpacked archive Bug 558982
The minimal USE has a separate archive which needs to be moved to S Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/ZendFramework/ZendFramework-1.12.9.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-php/ZendFramework/ZendFramework-1.12.9.ebuild b/dev-php/ZendFramework/ZendFramework-1.12.9.ebuild
index d4b445b60344..f26758c27795 100644
--- a/dev-php/ZendFramework/ZendFramework-1.12.9.ebuild
+++ b/dev-php/ZendFramework/ZendFramework-1.12.9.ebuild
@@ -24,9 +24,15 @@ IUSE="cli doc examples minimal"
DEPEND="cli? ( dev-lang/php:*[simplexml,tokenizer] )"
RDEPEND="${DEPEND}"
+src_unpack() {
+ default
+ if use minimal ; then
+ mv "${WORKDIR}/${P}-minimal" "${S}" || die
+ fi
+}
+
src_prepare() {
if use minimal ; then
- S="${WORKDIR}/${P}-minimal"
if use doc ; then
mv "${WORKDIR}/${P}/documentation" "${S}"
fi