imagemin / jpegoptim-bin

jpegoptim bin-wrapper that makes it seamlessly available as a local dependency
https://github.com/tjko/jpegoptim
MIT License
24 stars 8 forks source link

FreeBSD installation fails #15

Open Jashi opened 6 years ago

Jashi commented 6 years ago

Hi,

we'd like to use your package on FreeBSD but have run into some trouble.

We do have the binary on our server already but unfortunately your install script (lib/install.js) doesn't check for that. Instead it tries to install the binary again but can't because the path for libjpeg doesn't work with this command: ".cmd('./configure --prefix="${bin.dest()}" --bindir="${bin.dest()}"')"

Is it possible to either check if the binary is already installed on the server and actually use that or maybe add the binary for FreeBSD?

Best regards, Tia