Hisham Muhammad wrote:
> On 11/5/07, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote:
>> I've made a recipe for latest CSound.
>> It uses Scons, but it installs not with scons.py install but with
>> install.py, I tried this:
>>
>> recipe_type=scons
>> scons_variables=(
>> "prefix=$target"
>> )
>> sandbox_options=(
>> "--command install.py --prefix=$target"
>> )

Why was this ignored by the scons type recipe, is it because it doesn't
actually use the sandbox?

>> But it didn't work, instead I had to do this:
>>
>> do_install=no
>> pre_link() {
>>   ./install.py --prefix=$target
>> }
> 
> You can do
> 
> build_script=install.py
> 
> (We try to autodetect setup.py, configure.py and build.py... will add
> install.py to the list in a future version.)

What does it mean that it's called *build* script? Is there no
install_script variable? And how do I pass "--prefix=$target" to it? It
would also be nice to run it in the sandbox...

>> also, the docs doesn't correspond to latest Compile, for example
>> scons_variables isn't mentioned...
> 
> Ouch. I confess I haven't worked on the docs in a long time...

I liked it better when the recipe format docs was in
/P/Compile/Current/doc/...

-- 
/Jonatan         [ http://kymatica.com ]
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to