tce-load -i compiletc squashfs-tools submitqc tar wget https://sourceforge.net/projects/acpiclient/files/acpiclient/1.7/acpi-1.7.tar.gz tar -xvf acpi-1.7.tar.gz cd acpi-1.7 export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" export LDFLAGS="-Wl,-O1" ./configure --prefix=/usr/local make sudo make install DESTDIR=/tmp/acpi sudo mkdir /tmp/acpi/usr/local/share/doc sudo mkdir /tmp/acpi/usr/local/share/doc/acpi sudo chown -R root:root /tmp/acpi/usr/local/share/doc sudo mv COPYING /tmp/acpi/usr/local/share/doc/acpi/COPYING sudo chown root:root /tmp/acpi/usr/local/share/doc/acpi/COPYING sudo chmod 644 /tmp/acpi/usr/local/share/doc/acpi/COPYING cd .. mksquashfs /tmp/acpi acpi.tcz cat < "acpi.tcz.info" Title: acpi.tcz Description: Displays information on ACPI devices Version: 1.7 Author: meskes Original-site: https://sourceforge.net/projects/acpiclient Copying-policy: GPLv2 Size: Extension_by: jason123santa Tags: power acpi Comments: Attempts to replicate the functionality of the 'old' apm command on ACPI systems, including battery and thermal information. Does not support ACPI suspending, only displays information about ACPI devices. ---- Compiled for TC 14.x ---- Change-log: ---- Current: 2024/02/17 First version, 1.7 EOF submitqc -c --libs --fix --strip acpi.tcz rm acpi-1.7.tar.gz rm -rf acpi-1.7