50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
45 lines
930 B
TOML
45 lines
930 B
TOML
|
|
[source]
|
|
tar = "https://tar.goaccess.io/goaccess-1.9.4.tar.gz"
|
|
blake3 = "a7a7641c98956e8941191956129141e071321851d004269c7d21bce536d9224a"
|
|
|
|
#git = "https://github.com/allinurl/goaccess.git"
|
|
#branch = "master"
|
|
|
|
patches = [
|
|
"redox1.patch",
|
|
"redox2.patch",
|
|
]
|
|
|
|
# This is only needed when compiling from git. The tar.gz already has the make files.
|
|
script = """
|
|
autoreconf -fiv
|
|
automake --add-missing --copy --force-missing
|
|
"""
|
|
|
|
[build]
|
|
dependencies = ["ncursesw"]
|
|
template = "custom"
|
|
|
|
script = """
|
|
# Compile bin2c to be executed on the host
|
|
gcc -O2 -o "$COOKBOOK_BUILD/bin2c" "$COOKBOOK_SOURCE/src/bin2c.c"
|
|
chmod +x "$COOKBOOK_BUILD/bin2c"
|
|
|
|
# Compile goaccess
|
|
export COOKBOOK_NOSTRIP=1
|
|
DYNAMIC_INIT
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--host=$ARCH-unknown-redox
|
|
--enable-utf8
|
|
--disable-geoip
|
|
--prefix=/usr
|
|
--disable-dependency-tracking
|
|
--with-bin2c-path="$COOKBOOK_BUILD/src/bin2c"
|
|
)
|
|
cookbook_configure
|
|
"""
|
|
|
|
|
|
|