os-test: add port

This commit is contained in:
Matheus
2025-12-08 22:49:43 -03:00
parent 1a213c8441
commit 982dd0fedd
2 changed files with 24 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
name=os-test
revision=1
from_source=os-test
imagedeps="build-essential"
hostdeps="xgcc xbinutils"
deps="base"
build() {
cp -rpa ${source_dir}/* .
make -j${parallelism} OS=Astral CC=x86_64-astral-gcc CC_FOR_BUILD=gcc
}
package() {
mkdir -pv "${dest_dir}/usr/share/os-test"
cp -rpa * "${dest_dir}/usr/share/os-test"
}
+8
View File
@@ -0,0 +1,8 @@
name=os-test
version=1764d1493063388df9ab42544cb5da371b44fd58
git_url="https://gitlab.com/sortix/os-test.git"
commit=1764d1493063388df9ab42544cb5da371b44fd58
prepare() {
true
}