diff --git a/Readme.md b/Readme.md index 99db4d7..d40fcd1 100644 --- a/Readme.md +++ b/Readme.md @@ -1,26 +1,52 @@ # kos32-liblua -Package like liblua*-dev from linux. +Package like liblua*-dev from linux. + +Installing lua headers and binares for dev. ## Install +### Linux +This will install everything you need(you can change lua version): ```sh sudo mkdir -p /etc/apt/keyrings sudo curl https://git.kolibrios.org/api/packages/Lua/debian/repository.key -o /etc/apt/keyrings/gitea-Lua.asc sudo curl https://git.kolibrios.org/api/packages/Egor00f/debian/repository.key -o /etc/apt/keyrings/gitea-Egor00f.asc -echo "deb [signed-by=/etc/apt/keyrings/gitea-Egor00f.asc] https://git.kolibrios.org/api/packages/Egor00f/debian $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list -echo "deb [signed-by=/etc/apt/keyrings/gitea-Lua.asc] https://git.kolibrios.org/api/packages/Lua/debian $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list +echo "deb [signed-by=/etc/apt/keyrings/gitea-Egor00f.asc] https://git.kolibrios.org/api/packages/Egor00f/debian bookworm main" | sudo tee -a /etc/apt/sources.list.d/gitea.list +echo "deb [signed-by=/etc/apt/keyrings/gitea-Lua.asc] https://git.kolibrios.org/api/packages/Lua/debian bookworm main" | sudo tee -a /etc/apt/sources.list.d/gitea.list sudo apt update sudo apt install kos32-liblua5.4 ``` +### Windows + +just download installer from [releases](https://git.kolibrios.org/Lua/kos32-liblua/releases) + ## build +you must install gcc toolchain before build package + +### Linux + ```sh -make "LUA_VER=A.B" build +make "LUA_VER=A.B" build-deb ``` or ```sh make kos32-liblua.deb ``` + +### Windows + + +```sh +make "LUA_VER=A.B" build-exe +``` + +or +```sh +make kos32-liblua.exe +``` + +