summaryrefslogtreecommitdiff
path: root/rootbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rootbuild.sh')
-rwxr-xr-xrootbuild.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/rootbuild.sh b/rootbuild.sh
index aa8f530..32a4cec 100755
--- a/rootbuild.sh
+++ b/rootbuild.sh
@@ -3,12 +3,15 @@ export CFLAGS="-O3 -pipe"
export CXXFLAGS=$CFLAGS
# xz Build
+# NOTE: xz is needed to run "treetap package", so we manually install. ~ahill
cd /maple
treetap build sources/xz/xz.spec
cd .treetap/sources/xz/*/*/xz-*/
make -j $(nproc) install DESTDIR=/
# libarchive Build
+# NOTE: bsdcpio is needed to run "treetap package", so we manually install.
+# ~ahill
cd /maple
treetap build sources/libarchive/libarchive.spec
cd .treetap/sources/libarchive/*/*/libarchive-*/
@@ -18,9 +21,12 @@ make -j $(nproc) install DESTDIR=/
# NOTE: bzip2, xz, and zlib need to be built before libarchive or we will be
# missing functionality! ~ahill
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
-# built after that. ~ahill
+# built after them. ~ahill
# NOTE: mold requires CMake to build. ~ahill
-PACKAGES="bzip2 libressl make musl xz zlib libarchive cmake mold"
+# NOTE: flex requires byacc and m4 to build. ~ahill
+# NOTE: editline requires ncurses to build. ~ahill
+cd /maple
+PACKAGES="byacc bzip2 libressl m4 make muon musl ncurses xz zlib editline flex libarchive cmake mold"
for pkg in $PACKAGES; do
treetap fetch sources/$pkg/$pkg.spec
treetap build sources/$pkg/$pkg.spec