update Readme
Добавил чуть больше инфы
This commit is contained in:
1 parent
2f51027ab9
commit
7b7138752a
1 file changed
+29
-3
@@ -2,25 +2,51 @@
|
|||||||
|
|
||||||
Package like liblua*-dev from linux.
|
Package like liblua*-dev from linux.
|
||||||
|
|
||||||
|
Installing lua headers and binares for dev.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
This will install everything you need(you can change lua version):
|
||||||
```sh
|
```sh
|
||||||
sudo mkdir -p /etc/apt/keyrings
|
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/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
|
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-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 $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 bookworm main" | sudo tee -a /etc/apt/sources.list.d/gitea.list
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install kos32-liblua5.4
|
sudo apt install kos32-liblua5.4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
|
||||||
|
just download installer from [releases](https://git.kolibrios.org/Lua/kos32-liblua/releases)
|
||||||
|
|
||||||
## build
|
## build
|
||||||
|
|
||||||
|
you must install gcc toolchain before build package
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make "LUA_VER=A.B" build
|
make "LUA_VER=A.B" build-deb
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
```sh
|
```sh
|
||||||
make kos32-liblua<Version>.deb
|
make kos32-liblua<Version>.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make "LUA_VER=A.B" build-exe
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
```sh
|
||||||
|
make kos32-liblua<Version>.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user