update docs

This commit is contained in:
2026-09-22 13:23:34 +08:00
parent 99bc3d15c5
commit 8a4788fca8
126 changed files with 7198 additions and 2425 deletions
+6 -8
View File
@@ -1,14 +1,12 @@
format = 1
format = 2
id = "demo.hello"
name = "AArch64 hello"
version = "1.0"
architecture = "aarch64"
root = "root"
[commands]
hello = "bin/hello"
hello = "usr/bin/hello"
# This trusted command runs only on the workstation. It is never put on media.
[build]
directory = "."
command = ["sh", "-eu", "-c", "mkdir -p root/bin; aarch64-linux-gnu-gcc -O2 hello.c -o root/bin/hello"]
# Void source templates run only on the workstation.
[source]
package = "fds-demo-hello"
template = "void"
+15
View File
@@ -0,0 +1,15 @@
# Small example of a native Void source package, cross-built by xbps-src.
pkgname=fds-demo-hello
version=1.0
revision=1
archs="aarch64"
short_desc="FDS cartridge hello example"
maintainer="FDS/OS maintainers"
license="MIT"
homepage="https://docs.voidlinux.org/xbps/"
do_build() {
${CC} ${CFLAGS} "${FILESDIR}/hello.c" ${LDFLAGS} -o hello
}
do_install() {
vbin hello
}