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

Re: [Sc-devel] [PROPOSE] adding automatic debian package building to SConscript



Hiho,

this seems useful.
Any objection to adding these?

sincerely,
Marije

On Thursday 22 November 2007 22:47:17 krgn wrote:
> Hello,
>
> I have put a small SConscript together that will build a
> supercollider3.debpackage from a build. Its really really simple and
> could possibly be
> extended but its a start. I find this useful, as it eases (un-)installation
> process, and makes re-distribution easier.
>
> it should work the following way:
>
>    - add a folder called 'debian' into the SuperCollider3 tree
>    - put the attached 'SConstruct_debian' there as 'SConstruct'
>    - put the attached file 'control' into the 'linux' folder
>    - add the following to the end of the top-level SConstruct
>
> #======================================================================
>
> # debian
> distribution
> #======================================================================
>
>
>
> if 'debian' in
> COMMAND_LINE_TARGETS:
>
>
> Export('env')
>
>
> SConscript("debian/SConstruct")
>
>
>
> and it should work
>
> one should build the following way:
>
> scons PREFIX=/usr DEVELOPMENT=yes
> scons debian
>
> its crap to have to execute it twice, but I only did this today and didn't
> get my head around all of scons & python. maybe somebody knows how to
> improve this?
>
> I used this guide for basic instructions but didn't get he automatic
> parsing of the control file to work, so I left it out for a start ;-D
> http://www.qandr.org/quentin/writings/debscons.html
>
> greetings,
>
> k