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

@@ -19,14 +19,6 @@ build() {
# NOTE: bzip2recover is part of the first Makefile, so we need to invoke
# that to build the command. ~ahill
make -O -j $TT_PROCS bzip2recover CC=$CC CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
}
clean() {
rm -rf bzip2-*/
}
package() {
cd bzip2-*/
# NOTE: The shared Makefile doesn't have an "install" target, so we just
# copy the files over ourselves. ~ahill
mkdir -p $TT_INSTALLDIR$TT_BINDIR
@@ -52,4 +44,4 @@ package() {
ln -sf $SO_NAME $TT_INSTALLDIR$TT_LIBDIR/libbz2.so
mkdir -p $TT_INSTALLDIR$TT_INCLUDEDIR
cp bzlib.h $TT_INSTALLDIR$TT_INCLUDEDIR/
}
}