Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   unpacker.eclass and base.eclass integration (http://www.linux-archive.org/gentoo-development/629076-unpacker-eclass-base-eclass-integration.html)

Mike Frysinger 02-05-2012 04:21 AM

unpacker.eclass and base.eclass integration
 
follow up: have base.eclass leverage unpacker.eclass when it's available
-mike

--- base.eclass 14 Dec 2011 23:38:09 -0000 1.55
+++ base.eclass 5 Feb 2012 05:19:28 -0000
@@ -59,7 +59,11 @@ base_src_unpack() {

pushd "${WORKDIR}" > /dev/null

- [[ -n "${A}" ]] && unpack ${A}
+ if [[ $(type -t unpacker_src_unpack) == "function" ]] ; then
+ unpacker_src_unpack
+ elif [[ -n ${A} ]] ; then
+ unpack ${A}
+ fi
has src_prepare ${BASE_EXPF} || base_src_prepare

popd > /dev/null


All times are GMT. The time now is 07:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.