mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
Documentation: Add Alpine Linux build instructions
This commit is contained in:
parent
0a329d2d70
commit
0ed46103ed
Notes:
sideshowbarker
2024-07-18 18:19:17 +09:00
Author: https://github.com/danielledeleo
Commit: 0ed46103ed
Pull-request: https://github.com/SerenityOS/serenity/pull/7001
Reviewed-by: https://github.com/DolphinChips
Reviewed-by: https://github.com/linusg
1 changed files with 18 additions and 0 deletions
|
@ -106,6 +106,24 @@ Then use this script: `nix-shell myshell.nix`.
|
||||||
|
|
||||||
Once you're in nix-shell, you should be able to follow the build directions.
|
Once you're in nix-shell, you should be able to follow the build directions.
|
||||||
|
|
||||||
|
#### Alpine Linux
|
||||||
|
|
||||||
|
First, make sure you have enabled the `community` repository in `/etc/apk/repositories` and run `apk update`. It has been tested on `edge`, YMMV on `stable`.
|
||||||
|
|
||||||
|
```console
|
||||||
|
# the basics, if you have not already done so
|
||||||
|
apk add bash curl git util-linux sudo
|
||||||
|
|
||||||
|
# rough equivalent of build-essential
|
||||||
|
apk add build-base
|
||||||
|
|
||||||
|
# qemu
|
||||||
|
apk add qemu qemu-system-i386 qemu-img qemu-ui-gtk
|
||||||
|
|
||||||
|
# build tools (samurai is a drop-in replacement for ninja)
|
||||||
|
apk add cmake e2fsprogs grub-bios samurai mpc1-dev mpfr-dev gmp-dev
|
||||||
|
```
|
||||||
|
|
||||||
### macOS prerequisites
|
### macOS prerequisites
|
||||||
|
|
||||||
Make sure you have all the dependencies installed:
|
Make sure you have all the dependencies installed:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue