On Sat, Mar 25, 2006 at 10:38:04PM +0800, Paul Wise wrote: > On Sat, 2006-03-25 at 15:23 +0100, Sven Luther wrote: > > > Why did you chose to use advi as an example, and not spamoracle ? The advi > > example is only valid if you have c bindings, but even then, they should > > probably be moved into a library package instead. > > spamoracle builds 2 packages, one with bytecode, one with native. I > wanted one package with either native or bytecode depending on the > platform, preferring native where available.
spamoracle builds 1 bytecode arch: all package, and onenative code for those arches which support native code. This ensures that the minimnum ammount of packages are built, and in addition the user can chose to use the byutecode package even if native code is available on his arch. The provide magic, which adds the provide to the normal package from the -byte one will do the necessary magic so that apt-get install <package> will always do the right thing and provide the best package on a given arch. This also discharges the non-native buildds and spares archive space. Believe me, it works very well and is very nice, you should try to emulate it :) Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

