From 7b7138752ab44e0eb5fb5c3ff5b98e79097cde60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B3=D0=BE=D1=80?= Date: Sun, 27 Apr 2025 11:37:20 +0200 Subject: [PATCH] update Readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавил чуть больше инфы --- Readme.md | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) 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 +``` + +