mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user