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 35 additions and 1 deletions
Showing only changes of commit 576f1fc841 - Show all commits

View File

@ -30,7 +30,7 @@ Definitions:
| `kmod` | Yes | Yes |
| `less` |
| `libarchive` | Yes | Yes |
| `libcap2` |
| `libcap2` | Yes | Yes |
| `libelf` | Yes | Yes |
| `libmnl` |
| `libnftnl` |
@ -52,6 +52,7 @@ Definitions:
| `patch` | Yes | Yes |
| `perl` | Yes | Yes |
| `pkgconf` | Yes | Yes |
| `pipewire` |
| `sed` | Yes | Yes |
| `shadow` |
| `tar` | Yes | Yes |

View File

@ -0,0 +1,33 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="5e339f5ab434bf5b7979f65437ca24942ddcd6e6a3e57347370cd791bc0ea51c"
SRC_NAME="libcap2"
SRC_URL="https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.77.tar.gz"
SRC_VERSION="2.77"
build() {
tar xf ../$SRC_FILENAME
cd libcap-$SRC_VERSION/
# NOTE: This Makefile assumes that GCC exists, which it doesn't here, so we
# need to tell it to respect the CC environment variable to prevent
# any issues. ~ahill
make -O \
-j $TT_PROCS \
CC=$CC \
LIBDIR=$TT_LIBDIR \
INCDIR=$TT_INCLUDEDIR \
exec_prefix=$TT_PREFIX \
prefix=$TT_PREFIX
}
package() {
cd libcap-$SRC_VERSION/
make -O \
-C libcap \
-j $TT_PROCS \
install-shared \
FAKEROOT=$TT_INSTALLDIR \
LIBDIR=$TT_LIBDIR \
INCDIR=$TT_INCLUDEDIR \
exec_prefix=$TT_PREFIX \
prefix=$TT_PREFIX
}