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>
19 lines
648 B
Python
19 lines
648 B
Python
# The paths below depend on PREFIX, so they can't be static CONFIGURE
|
|
# arguments. terminfo is looked up in the package's own copy first.
|
|
configure() {
|
|
configure_args ./configure --prefix="$PREFIX" --sysconfdir=/etc \
|
|
--mandir="$PREFIX/share/man" \
|
|
--with-pkg-config-libdir="$PREFIX/lib/pkgconfig" \
|
|
--with-terminfo-dirs="$PREFIX/share/terminfo:/etc/terminfo:/usr/share/terminfo"
|
|
}
|
|
|
|
# Only the wide-character library is built: link the usual names to it.
|
|
package() {
|
|
make install DESTDIR="$DESTDIR"
|
|
cd "$DESTDIR$PREFIX/lib"
|
|
for l in ncurses curses tinfo; do
|
|
ln -s libncursesw.so lib$l.so
|
|
done
|
|
ln -s ncursesw.pc pkgconfig/ncurses.pc
|
|
}
|