[Rock-dev] [Autoproj] Defining a custom package type for boost

Sylvain Joyeux sylvain.joyeux at dfki.de
Wed Sep 12 09:53:58 CEST 2012


On 09/11/2012 05:48 PM, Charles Lesire-Cabaniols wrote:
> Hi guys,
>
> I would like autoproj to manage a local install of a specific boost 
> version one of my packages are depending on.
> As boost, uses a specific bootstraph.sh / b2 install process, I would 
> like to define a specific configure/build process for my boost package.
>
> I tried redefining functions of an import_package, but it does not 
> have configure/build methods (only prepare seems relevant).
> I then tried to inherit from Configurable and define a BoostPackage as 
> done in CMake for instance, but without succes.
>
> Could I have some tips on how to do it right?
If you want a configure stage, subclassing Configurable is definitely 
the way to go.

Could you send the code you have so far and tell us what is going wrong ?

Sylvain


More information about the Rock-dev mailing list