- add -lapm to LDFLAGS (which was removed during patching)
- ifdef our own net_apm.cc (created during patching)
- change ONLY_FOR_PLATFORMS from ... Linux-*-i[3-6]86 to
... Linux-*-* (all Linuxen should have include/apm.h)
of the patches, probably something like ${MACHINE_ARCH}/apmvar.h in
patch-ak . I dont' have access to other ports, so for now:
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i[3-6]86
bapm is an APM meter for Blackbox, which shows the battery status of your
laptop in a decorated window, simulating the look of the Blackbox toolbar.
bbapm is based on bbsload.
This package is based on the FreeBSD port and the OpenBSD patches posted
to http://bbtools.windsofstorm.net written by Michael Henson
(mike at axl dot net). Various changes by yours truly.