How can I install my .tgz package under a directory besides root?
I have just learned how to create my own slackware packages using makepkg. One problem I have is that when I try to install the package it installs a bunch of directories on my root partition. How do I get the package to install on my usr partition?
This is what I have done:
1. Extract the tar.gz file
2. cd to the directory and ./config --prefix=/usr
3. make && make install
4. cd to /usr and makepkg *.tgz
5. then I use pkgtool to install the *.tgz
What happens next is a bunch of directories like li, share, man, docs are created on my root directory. Anyone have some answers for me?