everest.sh builds Everest's signed packages in an Alpine container, publishes the base, extra and extra-src repositories, installs the system with glacier-bootstrap into an initramfs and boots it in QEMU. The image carries glacier, a toolchain and the repositories, and builds packages from source inside the VM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
450 B
Python
15 lines
450 B
Python
# Lua has no configure step: its module search path is compiled in
|
|
# from LUA_ROOT, so point it at PREFIX.
|
|
prepare() {
|
|
sed -i "s|^\(#define LUA_ROOT[[:space:]]*\)\"/usr/local/\"|\1\"$PREFIX/\"|" src/luaconf.h
|
|
grep -q "^#define LUA_ROOT[[:space:]]*\"$PREFIX/\"" src/luaconf.h
|
|
}
|
|
|
|
compile() {
|
|
make linux MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
package() {
|
|
make install INSTALL_TOP="$DESTDIR$PREFIX" INSTALL_MAN="$DESTDIR$PREFIX/share/man/man1"
|
|
}
|