Skip to content

Latest commit

 

History

History
97 lines (66 loc) · 2.27 KB

Readme.md

File metadata and controls

97 lines (66 loc) · 2.27 KB

🟩 lua5.4-subprocess

Thanks to @huakim for commit ahead to port lua-subprocess to openSUSE

Tested on openSUSE Tumbleweed

Get package on system

zypper addrepo -k https://download.opensuse.org/repositories/home:huakim:matrix/openSUSE_Tumbleweed/home:huakim:matrix.repo
zypper refresh
zypper install lua-subprocess

Enjoy !

Thanks to @xlq for commit ahead to port lua-subprocess in Lua 5.3

Tested on Alpine Linux with musl

Get package on system

 $: apk add --update musl musl-dev pkgconfig asciidoc lua5.4 lua5.4-dev lua5.4-libs
  • Set PATH for pkgconfig
$: export PKG_CONFIG_PATH=/usr/lib/pkgconfig
  • Set git clone lua5.4-subprocess
$: git clone https://github.com/huakim/lua-subprocess.git lua5.4-subprocess
  • Build it !
$: make
  • Copy to Lua libs /usr/lib/lua/5.4 !
$:  cp git/lua-subprocess/subprocess.so /usr/lib/lua/5.4

Enjoy !

🟨 lua5.3-subprocess

Tested on Alpine Linux with musl

Get package on system

 $: apk add --update musl musl-dev pkgconfig asciidoc lua5.3 lua5.3-dev lua5.3-libs
  • Set PATH for pkgconfig
$: export PKG_CONFIG_PATH=/usr/lib/pkgconfig
  • Set git clone lua5.4-subprocess
$: git clone https://github.com/huakim/lua-subprocess.git lua5.3-subprocess
  • Build it !
$: make
  • Copy to Lua libs /usr/lib/lua/5.3 !
$:  cp git/lua-subprocess/subprocess.so /usr/lib/lua/5.3

Enjoy !

🤝 Credits

Joshua Phillips - https://github.com/xlq/lua-subprocess - To commit ahead in past years, for fix all code to port Lua 5.3
Ted Trask - https://github.com/tdtrask/lua-subprocess - For alpine apk pkg
Trinity Labs - https://github.com/trinity-labs/lua5.4-subprocess - For README.md and for fix all code to port Lua 5.4
huakim - https://github.com/huakim/lua-subprocess - For fixing bug 'no luaL_optlong found' and porting to openSUSE https://build.opensuse.org/package/show/home:huakim:matrix/lua-subprocess