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:
- apm
- squashfs-tools
- coreutils
- grep
- sed
- util-linux
- binutils
- gcc
- coreutils
- make
- grep
- sed
- A posix-compliant shell (oksh is built by amethyst-bs) If you're downloading packages yourself instead of using pre-built source packages:
- tar
- gzip
- wget
- libressl (You don't need the libressl-bin / -lib package for apb, just the libressl-certs package)
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.