> > Anyway, I'll try to find some time to fix debian build system.
>
> On Ubuntu 6.06 (Debian-based, version code name "Dapper Drake"), I
> merely needed to do this:
>
> apt-get build-dep glob2
> apt-get install scons libsdl-ttf2.0-dev libboost-thread-dev
>
> This is using the dependencies of an older version of glob2 and then
> merely adding 3 new dependencies.
>
> Probably the dependencies on autoconf, etc. should now be dropped due
> to the switch to scons.
>
> Then in the unpacked glob2 directory, I ran this command.
>
> scons
>
> That's all it took, so I imagine there is not much to change in
> building the .deb file.
>
> I hope this helps.
Indeed one has to change debian/control to add the correct build-deps and to
change debian/rules to call scons and to copy the correct files. Does scons
has the equivalent of make install ? That would facilitate de content of
debian/rules, because otherwise all files have to be copied into
debian/usr/... by this file when building the package.
Yes, it is "scons install". One can use BINDIR and INSTALLDIR to change the directories that it installs to.
Steph
--
http://stephane.magnenat.net