-if whichable apt; then
- # ubuntu or debian or other apt-based OSes...
- sudo apt install mawk build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev
- exit_on_error $PHASE_MESSAGE
-elif whichable yum; then
- # rpm based with yum available...
- sudo yum install curl-devel gcc gcc-c++ make gawk openssl-devel.x86_64 zlib-devel
- exit_on_error $PHASE_MESSAGE
-elif [ ! -z "$IS_DARWIN" ]; then
- # macos based...
-#hmmm: still working on these...
- brew install mawk gpg meld openjdk
- exit_on_error $PHASE_MESSAGE
-elif [ "$OS" == "Windows_NT" ]; then
- # windows-based with cygwin (or we'll fail out).
- if apt_cyg_finder; then
-echo need to fix apt cyg install list for build apps somewhat.
-#hmmm: list is in our docs as a separate file for cygwin.
-# plug those packages into here please.
-# and separate out the build vs. handy packages.
- apt-cyg install gawk libcurl-devel meld mingw64-i686-openssl openssl openssl-devel libssl-devel zlib-devel
- exit_on_error $PHASE_MESSAGE
-
- fi
+if [ "$opsystem_here" == "debianesque" ]; then
+ PAX=(mawk build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev)
+elif [ "$opsystem_here" == "redhatty" ]; then
+ PAX=(curl-devel gcc gcc-c++ make gawk openssl-devel.x86_64 zlib-devel)
+elif [ "$opsystem_here" == "macos" ]; then
+ PAX=(mawk gpg meld openjdk)
+elif [ "$opsystem_here" == "windoze" ]; then
+ PAX=(gawk libcurl-devel meld mingw64-i686-openssl openssl openssl-devel libssl-devel zlib-devel)