made *some* Slackware packages
Posted: 12 Apr 2005, 13:35
I put together a couple of Slackware packages to make installation easier for Slackware and many other standard Linux's.
Physfs -- http://local.winchesterpc.com/pub/physfs-1.0.0-i586.tgz
Guichan -- http://local.winchesterpc.com/pub/guich ... 0-i586.tgz
I've never made Slackware packages before, but it seems rather straightforward. I justdid ./configure --target=i586 --prefix=/installer
then, I did make && make install, and instead of installing them into /usr, it installed them into ~/installer. I renamed ~/installer to ~/usr, then did tar -zcf whatever.tgz ~/usr, and now Slackware installs it into /usr. it seemed to work perfectly when I installed these packages, then build TMW on them, so they will probably work fine for everyone.
I don't know how to make RPM's yet, and I think those two projects already have RPM's anyway.
---
however, making Slackware packages for TMW is not quite feasible. when I uncompress the source package, I get the "data" and "src" folders (among other things). sure, I can make a package that installs the tmw binary, but then tmw insists on looking in the current directory for the data folder. if TMW can simply be made to check /usr/local/games/tmw/data, then it should fix the problem. also, I don't yet know where tmw stores its user files (i.e., saved information), but it really should save it to ~/.tmw or something similar so that each user has his own settings kept in just one location...
if you can do that, I can make a package installs physfs and guichan and even makes a menu entry and a desktop icon.
Physfs -- http://local.winchesterpc.com/pub/physfs-1.0.0-i586.tgz
Guichan -- http://local.winchesterpc.com/pub/guich ... 0-i586.tgz
I've never made Slackware packages before, but it seems rather straightforward. I justdid ./configure --target=i586 --prefix=/installer
then, I did make && make install, and instead of installing them into /usr, it installed them into ~/installer. I renamed ~/installer to ~/usr, then did tar -zcf whatever.tgz ~/usr, and now Slackware installs it into /usr. it seemed to work perfectly when I installed these packages, then build TMW on them, so they will probably work fine for everyone.
I don't know how to make RPM's yet, and I think those two projects already have RPM's anyway.
---
however, making Slackware packages for TMW is not quite feasible. when I uncompress the source package, I get the "data" and "src" folders (among other things). sure, I can make a package that installs the tmw binary, but then tmw insists on looking in the current directory for the data folder. if TMW can simply be made to check /usr/local/games/tmw/data, then it should fix the problem. also, I don't yet know where tmw stores its user files (i.e., saved information), but it really should save it to ~/.tmw or something similar so that each user has his own settings kept in just one location...
if you can do that, I can make a package installs physfs and guichan and even makes a menu entry and a desktop icon.