About new twinkle

Caio Begotti caio at ueberalles.net
Mon Jan 16 16:24:35 UTC 2006


On Monday 16 January 2006 13:54, Santiago Garcia Mantinan wrote:
> I wanted to change the rules so that we could create two packages a full
> one and a light one, but I'm told that it is difficult to do this with
> cdbs, I have looked at it a bit but I'm new to cdbs and indeed it seemed to
> me that it at least difficult to make it compile the program twice to
> generate the two binaries, anybody knows how to make it, any example?

I guess you just have to separate the configure part of twinkle and build them 
with a common rule later. Maybe it's not that clean/good, but works. For 
example (using CDBS, of course):

configure/twinkle::
	DEB_CONFIGURE_EXTRA_ARGS = --lalala

configure/twinkle-light::
	DEB_CONFIGURE_EXTRA_ARGS = --without-kde

I guess the licq package can give some good hints as well :-) and I don't 
remember if the ARGS works just like FLAGS in the variables above, please 
check them.

PS: I have documented all the CDBS flags and rules used in the whole Debian 
repository. In case you want to see it, I could upload them somewhere for 
reference, I don't know if it'd be useful really

Regards,

-- 
Caio Begotti (caio1982)
http://caio.ueberalles.net



More information about the Pkg-voip-maintainers mailing list