[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple package variants with CDBS?

"W. Borgert" <debacle@debian.org> wrote:

> I have a package that is configured and compiled two times, so
> that two binary packages are built in one dpkg-buildpackage run:
> One with --enable-gnome, the second without. Is this supported
> by CDBS somehow? Is there a package, that already does such a
> thing using CDBS? Any hint or example debian/rules file
> appreciated, thanks in advance!

I used to do this kind of thing with the xerces packages.  I no longer
do, but the versions of xerces25 and xerces26 in sarge still
demonstrate one way to do it.  Feel free to contact me off list if you
look at this and have any questions about how it works.  The basic
approach I used was to create two symlink farms to the extracted
sources and build once in each location.

Jay Berkenbilt <qjb@debian.org>

Reply to: