LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   need help building a nethack package (https://www.linuxquestions.org/questions/slackware-14/need-help-building-a-nethack-package-490455/)

bl0tt0 10-07-2006 07:13 PM

need help building a nethack package
 
Hello,

I just managed to get the newest version of nethack compiled with all of the fixins, but I'm not sure about how to create a package from it. The usual method of adding a DESTDIR to the make install doesn't work with it, and I'm not quite sure how to assemble the binary tree from the source tree in order to use makepkg. Has anyone here built a nethack package for their own system, and could they give me an idea of how they did it (and before anyone posts about it, I'm aware of checkinstall, but I'd rather not use it. Doesn't do a very good job of building an actual Slackware package).

Thank you

LiNuCe 10-07-2006 08:33 PM

From what I have read in Nethack's make files, you must use PREFIX :

Code:

( cd sys/unix ; sh setup.sh )
make all
make PREFIX=... install



All times are GMT -5. The time now is 04:47 PM.