summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--STATUS.md19
-rw-r--r--sources/bzip2/bzip2.spec5
-rw-r--r--sources/cmake/cmake.spec5
-rw-r--r--sources/libressl/libressl.spec6
-rw-r--r--sources/mold/mold.spec5
-rw-r--r--sources/muon/muon.spec4
-rw-r--r--sources/ncurses/ncurses.spec4
7 files changed, 35 insertions, 13 deletions
diff --git a/STATUS.md b/STATUS.md
index fc11319..bcc8f73 100644
--- a/STATUS.md
+++ b/STATUS.md
@@ -1,28 +1,33 @@
This document tracks which packages can be built and packaged within the chroot.
+Definitions:
+ Can Build - The software can be both compiled via treetap on Maple Linux and run on Maple Linux
+ Can Package - The software can be packaged by treetap under Maple Linux, while using none of the deprecated paths (/usr/bin, /usr/lib, /usr/libexec, /sbin, etc.) and without conflicting with another package
+
| Package | Can Build? | Can Package? |
| ------------ | ---------- | ------------ |
| `autoconf` | Yes | Yes |
| `automake` | Yes | Yes |
-| `bsdutils` | Yes | Yes |
+| `bsdutils` | Yes | No |
| `busybox` | No | No |
| `byacc` | Yes | Yes |
-| `bzip2` | Yes | Yes |
-| `cmake` | Yes | Yes |
+| `bzip2` | Yes | No |
+| `cmake` | Yes | No |
| `editline` | Yes | Yes |
| `flex` | Yes | Yes |
| `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes |
+| `libtool` | Yes | Yes |
| `linux` | No | No |
| `llvm` | No | No |
| `m4` | Yes | Yes |
| `make` | Yes | Yes |
-| `mold` | Yes | Yes |
-| `muon` | Yes | Yes |
+| `mold` | Yes | No |
+| `muon` | Yes | No |
| `musl` | Yes | Yes |
| `musl-fts` | Yes | Yes |
-| `ncurses` | Yes | Yes |
+| `ncurses` | Yes | No |
| `perl` | Yes | Yes |
| `pkgconf` | Yes | Yes |
| `xz` | Yes | Yes |
-| `zlib` | Yes | Yes | \ No newline at end of file
+| `zlib` | Yes | Yes |
diff --git a/sources/bzip2/bzip2.spec b/sources/bzip2/bzip2.spec
index 21757c3..f7c3ab2 100644
--- a/sources/bzip2/bzip2.spec
+++ b/sources/bzip2/bzip2.spec
@@ -4,6 +4,9 @@ SRC_NAME="bzip2"
SRC_URL="https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"
SRC_VERSION="1.0.8"
+# TODO: Move bzlib.h to $TT_INCLUDEDIR ~ahill
+# TODO: Prevent the static library from being installed ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd bzip2-*/
@@ -29,4 +32,4 @@ package() {
# NOTE: The second Makefile doesn't have an "install" target, so we just
# toss the shared object into /lib and call it a day! ~ahill
cp libbz2.so* $TT_INSTALLDIR/lib/
-} \ No newline at end of file
+}
diff --git a/sources/cmake/cmake.spec b/sources/cmake/cmake.spec
index 0e80903..106bb91 100644
--- a/sources/cmake/cmake.spec
+++ b/sources/cmake/cmake.spec
@@ -4,6 +4,9 @@ SRC_NAME="cmake"
SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz"
SRC_VERSION="4.2.0"
+# TODO: Move executables from /usr/bin to $TT_BINDIR ~ahill
+# TODO: Place all documentation under $TT_DATADIR/doc ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd cmake-*/
@@ -27,4 +30,4 @@ clean() {
package() {
cd cmake-*/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
-} \ No newline at end of file
+}
diff --git a/sources/libressl/libressl.spec b/sources/libressl/libressl.spec
index 1f727ec..dc3783d 100644
--- a/sources/libressl/libressl.spec
+++ b/sources/libressl/libressl.spec
@@ -4,6 +4,10 @@ SRC_NAME="libressl"
SRC_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.2.1.tar.gz"
SRC_VERSION="4.2.1"
+# TODO: Should the openssl command be a symlink? For the sake of transparency,
+# it may make sense to rename the command to "libressl" and make "openssl"
+# a symlink for compatibility's sake. ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd libressl-*/
@@ -20,4 +24,4 @@ clean() {
package() {
cd libressl-*/
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
-} \ No newline at end of file
+}
diff --git a/sources/mold/mold.spec b/sources/mold/mold.spec
index b445320..c3f0a78 100644
--- a/sources/mold/mold.spec
+++ b/sources/mold/mold.spec
@@ -5,6 +5,9 @@ SRC_NAME="mold"
SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
SRC_VERSION="2.40.4"
+# TODO: Merge the contents from /lib64 and /libexec into $TT_LIBDIR ~ahill
+# TODO: Move /share to $TT_DATADIR ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd mold-*/
@@ -20,4 +23,4 @@ package() {
cd mold-*/
cmake --install build --parallel $TT_PROCS
ln -sf mold $TT_INSTALLDIR/bin/ld
-} \ No newline at end of file
+}
diff --git a/sources/muon/muon.spec b/sources/muon/muon.spec
index 158eaf5..1df7903 100644
--- a/sources/muon/muon.spec
+++ b/sources/muon/muon.spec
@@ -5,6 +5,8 @@ SRC_NAME="muon"
SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz"
SRC_VERSION="0.5.0"
+# TODO: Make sure the muon command is installed to $TT_BINDIR ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd muon-*/
@@ -21,4 +23,4 @@ clean() {
package() {
cd muon-*/
DESTDIR=$TT_INSTALLDIR ./build/muon -C build install
-} \ No newline at end of file
+}
diff --git a/sources/ncurses/ncurses.spec b/sources/ncurses/ncurses.spec
index c5918ca..942c894 100644
--- a/sources/ncurses/ncurses.spec
+++ b/sources/ncurses/ncurses.spec
@@ -4,6 +4,8 @@ SRC_NAME="ncurses"
SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz"
SRC_VERSION="6.5"
+# TODO: Remove the target triple prefix from all of ncurses' executables ~ahill
+
build() {
tar xf ../$SRC_FILENAME
cd ncurses-*/
@@ -27,4 +29,4 @@ package() {
# will only look for "ncurses" and not "ncursesw". ~ahill
ln -s libncursesw.so $TT_INSTALLDIR/lib/libncurses.so
ln -s libncurses++w.so $TT_INSTALLDIR/lib/libncurses++.so
-} \ No newline at end of file
+}