mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
name=astral
|
|
version=0
|
|
source_dir="kernel-src"
|
|
allow_network="yes"
|
|
imagedeps="wget"
|
|
flanterm_commit="347d9cf1e3fced64aa20ab278e2fdcc834086035"
|
|
|
|
regenerate() {
|
|
rm -f include/limine.h
|
|
rm -f io/printf.c
|
|
rm -f include/printf.h
|
|
rm -rf flanterm
|
|
curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h
|
|
pushd /tmp/
|
|
wget https://github.com/mpaland/printf/archive/refs/tags/v4.0.0.tar.gz
|
|
tar -xf v4.0.0.tar.gz
|
|
wget https://github.com/mintsuki/flanterm/archive/${flanterm_commit}.tar.gz
|
|
tar -xf ${flanterm_commit}.tar.gz
|
|
popd
|
|
cp /tmp/printf-4.0.0/printf.c io/printf.c
|
|
cp /tmp/printf-4.0.0/printf.h include/printf.h
|
|
cp -r /tmp/flanterm-${flanterm_commit} flanterm
|
|
}
|