Re: scons /rules

2009-03-08 Thread Grammostola Rosea
Chow Loong Jin wrote: On Sun, 2009-03-08 at 12:56 +0100, Grammostola Rosea wrote: Ok, I wil ask the upstream author of the source. If I need to patch SConstruct to support DESTDIR myself, how should I do it? Attached is a patch I made while packaging sigx, then submitted upstream. It

Re: scons /rules

2009-03-08 Thread Chow Loong Jin
On Sun, 2009-03-08 at 12:56 +0100, Grammostola Rosea wrote: > Ok, I wil ask the upstream author of the source. > > If I need to patch SConstruct to support DESTDIR myself, how should I > do it? > Attached is a patch I made while packaging sigx, then submitted upstream. It adds DESTDIR support to

Re: scons /rules

2009-03-08 Thread Paul Wise
On Sun, Mar 8, 2009 at 7:58 PM, Grammostola Rosea wrote: >> sudo apt-get install devscripts ; build-rdeps scons > > Sorry, but how can I check it? Where can I find the rules files? E. something like this should do it: apt-get source foo cd foo*/ less debian/rules -- bye, pabs http://

Re: scons /rules

2009-03-08 Thread Grammostola Rosea
Chow Loong Jin wrote: On Sun, 2009-03-08 at 12:26 +0100, Grammostola Rosea wrote: Ok. I think I've fixed that. But now I get: # Add here commands to install the package into debian/klick. scons DESTDIR=/home/d/debian_pakketbouw/klick-0.11.0/debian/klick install scons: Reading SConscript file

Re: scons /rules

2009-03-08 Thread Chow Loong Jin
On Sun, 2009-03-08 at 12:26 +0100, Grammostola Rosea wrote: > Ok. I think I've fixed that. > But now I get: > > # Add here commands to install the package into debian/klick. > scons DESTDIR=/home/d/debian_pakketbouw/klick-0.11.0/debian/klick > install > scons: Reading SConscript files ... > scons:

Re: scons /rules

2009-03-08 Thread Grammostola Rosea
Grammostola Rosea wrote: Paul Wise wrote: On Sun, Mar 8, 2009 at 9:36 AM, Daniel Moerner wrote: In general, it's pretty similar to a normal make setup. Instead of calling $(MAKE), just define SCONS (e.g., SCONS = scons, at the top of the file) and then call $(SCONS). The upstream SConstruc

Re: scons /rules

2009-03-08 Thread Chow Loong Jin
On Sun, 2009-03-08 at 11:58 +0100, Grammostola Rosea wrote: > Paul Wise wrote: > > On Sun, Mar 8, 2009 at 9:36 AM, Daniel Moerner wrote: > > > > > >> In general, it's pretty similar to a normal make setup. Instead of > >> calling $(MAKE), just define SCONS (e.g., SCONS = scons, at the top of >

Re: scons /rules

2009-03-08 Thread Grammostola Rosea
Paul Wise wrote: On Sun, Mar 8, 2009 at 9:36 AM, Daniel Moerner wrote: In general, it's pretty similar to a normal make setup. Instead of calling $(MAKE), just define SCONS (e.g., SCONS = scons, at the top of the file) and then call $(SCONS). The upstream SConstruct file should support DEST

Re: scons /rules

2009-03-07 Thread Paul Wise
On Sun, Mar 8, 2009 at 9:36 AM, Daniel Moerner wrote: > In general, it's pretty similar to a normal make setup. Instead of > calling $(MAKE), just define SCONS (e.g., SCONS = scons, at the top of > the file) and then call $(SCONS). The upstream SConstruct file should > support DESTDIR setting whe

Re: scons /rules

2009-03-07 Thread Daniel Moerner
On Sat, Mar 7, 2009 at 3:25 PM, Grammostola Rosea wrote: > Hi, > > I want to build my first package. I have to edit the rules file, but how? > What are in general the things you have to do when building a scons package? > > And there is also not an makefile, but an SConstruct file, right? In gene

scons /rules

2009-03-07 Thread Grammostola Rosea
Hi, I want to build my first package. I have to edit the rules file, but how? What are in general the things you have to do when building a scons package? And there is also not an makefile, but an SConstruct file, right? \r #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that u