Alin Năstac wrote:
> Luca Barbato wrote:
>> My idea is to have your overlay with live ebuilds and a tool to make a
>> release out of it.
>>
>> All the messy stuff remains in pkg_setup/src_unpack all you need to do
>> then is to iterate the workdir and make tarballs of what you find there.
>>
>> Sounds good enough?
>>   
> Basically you propose to have a src_whatever function that will work as
> a substitute for src_unpack() in case you don't find the tarball on
> mirrors, isn't it?

More or less a tool that runs the steps till src_unpack included and
then repacks what it finds in workdir.

> That could work too, but what if, depending on some useflag, I need to
> patch the source tree? Because the new function must be capable to
> replace src_unpack, you will have to add a command like "use foo &&
> epatch ..." at the end of the new function. If foo useflag is enabled on
> your system, the external tool that build the tarball will create it
> based on a wrongly patched source tree. 

Well much depends on what is the seed ebuild.

I make the assumption we have 2 kind of ebuilds

live ebuilds that we use to produce tarballs and normal ebuilds that use
those tarballs.

it is a little more complex than your propose but keeps things separated.

lu


-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
-- 
[EMAIL PROTECTED] mailing list

Reply via email to