[Slackbuilds-users] Install SlackBuild Package Where I Want To
didier.spaier at epsm.fr
Fri Feb 21 20:06:30 UTC 2014
On 21/02/2014 18:45, Thomas Ronayne wrote:
> Although I really appreciate SlackBuilds and all the work that goes into them and the efforts of everyone working on SlackBuilds I have one problem that I just can't get my head around -- how do I install a SlackBuild where I want to other than in the root tree?
> For example, I need NetCDF for use with the Generic Mapping Tools (GMT). I have always installed both GMT and NetCDF in /opt (they're both big and I don't want 'em in the root tree). That is also true of, say, OpenOffice -- or LibreOffice -- I don't want that stuff in the root, I want it in /opt.
> I've tried editing the SlackBuild (changing "usr" to "opt") and have had messy failures doing that; is the some easy way to specify the installation directory? Have I just missed something really, really basic?
Well, you can always change configure's options but then, you'll have to provide the needed symlinks to executables and shared libraries in the standard locations, for instance in doisnt.sh. That's what makpkg expects, see "man makepkg" and examples in /var/log/scripts.
More information about the SlackBuilds-users