jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.14k stars 1.07k forks source link

Support luarocks #837

Open daurnimator opened 9 years ago

daurnimator commented 9 years ago

Continuing from IRC:

whack

daurnimator: if you already know how to use luarocks, filing a ticket with your knowledge on how to fetch and unpack packages is a good start fpm needs to know how to fetch a package, how to unpack it in a specific location, and where and how to read the package metadata (to see the package name, version, dependencies, etc)

daurnimator

whack: is it acceptable to have fpm run luarocks? daurnimator if so, luarocks --tree=somedir install <rockspec|rock>

whack

yep! for background, python, gem, npm, and cpan support in fpm all run external code python will launch easy_install or pip to do the dirty work (fetching, etc)

lusis commented 9 years ago

This is pretty much straightforward using the luarocks installer. It'll be up to the user to get LUA_PATH and LUA_CPATH correct but it's doable /cc @bakins