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 11 additions and 10 deletions
Showing only changes of commit e9623a7886 - Show all commits

View File

@ -13,7 +13,7 @@ Definitions:
| `byacc` | Yes | Yes | | `byacc` | Yes | Yes |
| `bzip2` | Yes | Yes | | `bzip2` | Yes | Yes |
| `clang` | No | No | | `clang` | No | No |
| `cmake` | Yes | No | | `cmake` | Yes | Yes |
| `compiler-rt` | No | No | | `compiler-rt` | No | No |
| `editline` | Yes | Yes | | `editline` | Yes | Yes |
| `flex` | Yes | Yes | | `flex` | Yes | Yes |

View File

@ -2,24 +2,25 @@
SRC_HASH="4104e94657d247c811cb29985405a360b78130b5d51e7f6daceb2447830bd579" SRC_HASH="4104e94657d247c811cb29985405a360b78130b5d51e7f6daceb2447830bd579"
SRC_NAME="cmake" SRC_NAME="cmake"
SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz" SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz"
SRC_VERSION="4.2.0" SRC_VERSION="4.2.0r1"
# TODO: Move executables from /usr/bin to $TT_BINDIR ~ahill
# TODO: Place all documentation under $TT_DATADIR/doc ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd cmake-*/ cd cmake-*/
# NOTE: CMake's bootstrap script is strange because *everything* is located # NOTE: CMake's bootstrap script is autoconf-like, but we shouldn't use
# under the prefix, whether you like it or not. We're making use of # TT_AUTOCONF_COMMON here because it would be incompatible. ~ahill
# /usr/bin this way, which is something I would like to avoid. ~ahill
./bootstrap \ ./bootstrap \
--bindir=$TT_BINDIR \
--datadir=$TT_DATADIR/cmake-$(echo $SRC_VERSION | cut -d"." -f1,2) \
--docdir=$TT_DATADIR/doc/cmake-$(echo $SRC_VERSION | cut -d"." -f1,2) \
--mandir=$TT_DATADIR/man \
--parallel=$TT_PROCS \ --parallel=$TT_PROCS \
--prefix=/usr \ --prefix=$TT_PREFIX \
--system-bzip2 \ --system-bzip2 \
--system-libarchive \ --system-libarchive \
--system-liblzma \ --system-liblzma \
--system-zlib --system-zlib \
--xdgdatadir=$TT_DATADIR
make -O -j $TT_PROCS make -O -j $TT_PROCS
} }