Integrated Treetap into Maple Linux #1

Merged
ahill merged 74 commits from treetap into main 2026-01-25 22:51:04 +00:00
2 changed files with 29 additions and 1 deletions
Showing only changes of commit cdbbc7ce28 - Show all commits

View File

@ -8,13 +8,14 @@ Definitions:
| ------------- | ---------- | ------------ | | ------------- | ---------- | ------------ |
| `autoconf` | Yes | Yes | | `autoconf` | Yes | Yes |
| `automake` | Yes | Yes | | `automake` | Yes | Yes |
| `bsdutils` | Yes | No | | `bsdutils` | Yes | Yes |
| `busybox` | No | No | | `busybox` | No | No |
| `byacc` | Yes | Yes | | `byacc` | Yes | Yes |
| `bzip2` | Yes | Yes | | `bzip2` | Yes | Yes |
| `cmake` | Yes | Yes | | `cmake` | Yes | Yes |
| `editline` | Yes | Yes | | `editline` | Yes | Yes |
| `flex` | Yes | Yes | | `flex` | Yes | Yes |
| `groff` | Yes | Yes |
| `libarchive` | Yes | Yes | | `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes | | `libressl` | Yes | Yes |
| `libtool` | Yes | Yes | | `libtool` | Yes | Yes |
@ -28,6 +29,7 @@ Definitions:
| `musl` | Yes | Yes | | `musl` | Yes | Yes |
| `musl-fts` | Yes | Yes | | `musl-fts` | Yes | Yes |
| `nano` | Yes | Yes | | `nano` | Yes | Yes |
| `nasm` | Yes | Yes |
| `ncurses` | Yes | Yes | | `ncurses` | Yes | Yes |
| `perl` | Yes | Yes | | `perl` | Yes | Yes |
| `pkgconf` | Yes | Yes | | `pkgconf` | Yes | Yes |

26
sources/nasm/nasm.spec Normal file
View File

@ -0,0 +1,26 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="b7324cbe86e767b65f26f467ed8b12ad80e124e3ccb89076855c98e43a9eddd4"
SRC_NAME="nasm"
SRC_URL="https://www.nasm.us/pub/nasm/releasebuilds/3.01/nasm-3.01.tar.xz"
SRC_VERSION="3.01"
build() {
tar xf ../$SRC_FILENAME
cd nasm-$SRC_VERSION/
./autogen.sh
./configure $TT_AUTOCONF_COMMON --enable-suggestions --enable-year2038
# NOTE: nasm redefines bool since they want it to be a typedef instead of a
# macro. Unfortunately, this seems to break clang because it is
# attempting to redefine a C++ keyword in include/compiler.h.
sed -i "/# ifdef bool/,/# endif/d" include/compiler.h
make -O -j $TT_PROCS
}
clean() {
rm -rf nasm-$SRC_VERSION/
}
package() {
cd nasm-$SRC_VERSION/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}