Originally posted by kleptophobiac
brilliant, thank you! Worked perfectly!
Can I do the package thing with other programs, like Kismet? Can I give it any name I want?
Sorry for the late reply, but yes, you can package anything with
varying amounts of work. Most programs DONT have a way of
building for one prefix but installing into a second /tmp location
for packaging. Look in the Makefiles for INSTALLDIR or such.
If no library paths are coded into the executables or config files,
you can often do ./configure --prefix=/tmp/root, then make,
make install; then go to /tmp/root and make the package and
it will work. If the linker wants to look for the libraries in /tmp/root,
I'll go and make the package again with configure --prefix=/usr/local
and manually copy the changed executables into /tmp/root. This
has pitfalls too... sometimes the executables aren't linked until
you type make install. You have to get clever about it sometimes.
As for the package names, they are usually
name-version-arch-rev.tgz but you can call them anything.
No '-' allowed except in the name prefix (none in version).
You may want to make a description file too and put it in
installl/slack-desc -- take a look at the disti packages to see how
One of the things I hated about Windows was the way you ended
up with obsolete garbage all over your filesystem. So I make an
effort to never install anything on my linux boxes without first
packaging it. Even though it more than doubles the work, it
pays off later when you want to remove something, or even just
grep /var/log/packages for a filename.