--- In [email protected], Brad Mills wrote:

> Hello -

Hi Brad,

> Just a quick note on the Debian package experiment.  I was able to
create a
> .deb package which contained the Quackle binaries and data files.
> Dependencies were resolved automatically.  I was also able to make
it work
> on fresh installs of both Debian and Ubuntu.  The package is sitting
on my
> USB key and I believe it could be installed on any Debian-based OS.
> 
> The install wasn't pretty, however, because apparently when I
created the
> package, I flubbed on the path names.  As a result everything
installed on
> the root directory.  Despite that, it *did* work.

Thanks for taking the time to build this package.

You asked about advice on the installation paths. Normally, binaries
from a package should go into /usr/bin, and data files into
/usr/share/package-name. However, in current versions of Quackle, the
path to the data files isn't configurable without editing code. With
such packages, my recommendation is to put _all_ the package's files
into a single directory in /opt, for example /opt/quackle-0.95. Keeps
everything in one place, easy to spot and clean-up if necessary. When
eventually the Quackle code is modified to allow defining the data
directory at build time, you can revert to the LFS (Linux Filesystem
Base) layout for the package files.

I'm happy to discuss more details with you offline if you like.

Anand

Reply via email to