Amethyst Package Builder (APB)

This is a build system based on APM, specifically meant to build packages for Amethyst. It builds packages in a chroot with only the packages necessary to build the package, so it only links against the libraries you want it to. It's still a work in progress, but it's doing pretty well so far, currently able to build a bootable system with enough time and patience. You can find the build scripts in the buildscripts directory under the packages directory.

APB is implemented as a posix shell script. Aside from a posix shell (bash, dash, oksh, mksh, etc.), you'll need the following packages installed on the host system to use APB:

You'll also need to provide some packages for APB in order to get started. You can bootstrap these pacakges from source using another linux distro via my bootstrap script. The required packages are: A copy of apm and apb will also be installed by the bootstrap script.

You can always download the latest version of APB from here. For historical purposes (e.g. if you want to see the process of making it), you can find older versions in the downloads directory. I would only recommend using the latest version.

Alternatively, if you're on Arch Linux or a derivative, you can build APB from source using makepkg with this PKGBUILD, or install it from my Arch Linux repository.