Open larsenv opened 3 years ago
I just talked to Wiimm about that. The only place where this path is used is in the setup/install.sh. And all that install script does is check if you're root, make folders, then call "install" to copy the binaries to /usr/local/bin/ and some additional data to /usr/local/share/szs. The easiest way would probably be to just not use the existing install.sh and just call the few "install" or "cp" calls yourself in the Homebrew formula instead of relying on the install script that's in this repo.
Or is there anything that would prevent that from working?
Maybe, I'm not sure. I kind of gave up on adding the formula to Homebrew because it's kind of a pain. I was just trying to get some good PRs made for Hacktoberfest.
I'm working on it (with low priority). A frist step is to enable a configuration file, so that the installed tools know about the pathes. And then I plan a file install.conf
, where you can modify the pathes. A template for this should be install.conf.templ
.
Relevant pathes:
Wiimm,
I'm trying to get Wiimms SZS Tools as a formula for the Homebrew package manager.
However, in order to do that, the maintainers to the project want a way to install binaries to be installable to a path supplied in the arguments, as Homebrew doesn't always install to
/usr/local/
. It doesn't look like you can change the path insetup.sh
, and the only way to change it is tosed
it, which the maintainers don't like.If you could add support for using a different path than
/usr/local/
insetup.sh
, that would be great.Thanks.