Open tallpsmith opened 9 years ago
In pcp.git have a look at scripts like build/mac/installer-resources/postinstall - creates the "pcp" user account, etc - the ruby packaging here will need to do similar things I imagine, not really covered in the above template. Other than that kind of thing, should be fairly plain sailing - PCP is build with configure && make just like in that example).
If only I could actually get it to compile! (see #52)...
@tallpsmith I have PCP building and installing the dmg packages on El Capitan now (see master branch, git.pcp.io/pcp, via ./Makepkgs) - those latest changes should also go a long way to helping you with your Homebrew investigations here.
I've been thinking that a nice way to get PCP in the hands of OSX users would be to have a Homebrew formula added:
http://brew.sh/
This package utility is a common place for open source utilities to be installed in OSX, I and many others use it to install and keep up to date things like git, wireshark etc.
To accomplish this it should be very straight forward, here's an example of a Formula:
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/etl.rb
I'd like to have a go at this, but first I think I'll need to understand how to build PCP for OSX locally, and then understand enough of the build configuration so that I can get PCP installed in the usual Homebrew locations.
Having said that someone who knows more about building PCP, particularly on OSX, may be better at doing this..
Appendix:
Anyway, thought I'd register this as an issue/idea/enhancement.