Merged build and package in treetap

This commit is contained in:
Alexander Hill
2026-01-16 21:59:51 -05:00
parent 6b94b54ae8
commit 7493b86f41
44 changed files with 65 additions and 313 deletions

View File

@@ -18,17 +18,9 @@ build() {
patch -p1 < ../CVE-2025-26519.patch
./configure $TT_AUTOCONF_COMMON
make -O -j $TT_PROCS
}
clean() {
rm -rf musl-*/
}
package() {
cd musl-*/
DESTDIR=$TT_INSTALLDIR make install
# NOTE: Apparently, the linker library has an entry point that we can use as
# ldd. What kind of black magic is this? ~ahill
mkdir -p $TT_INSTALLDIR/bin
ln -sf /lib/ld-musl-$TT_ARCH.so.1 $TT_INSTALLDIR/bin/ldd
}
}