mag

a binary package manager in one C file: apk and pacman repos, CRUX, Void and Exherbo ports
git clone https://github.com/tortr-rs/mag
Log | Files | Refs | README | LICENSE

commit 08f768d3cbae2512b50533df672c7d2e0d696026
parent 6ee4179cc4e9dcf5ece0d8edd9b4ecfb6d00a5c0
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sat, 14 Nov 2026 16:01:00 +0000

repo: linux headers; util-linux builds with gmake

Diffstat:
Mrepo/sys-apps/util-linux | 6+++---
Arepo/sys-kernel/linux-headers | 9+++++++++
2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/repo/sys-apps/util-linux b/repo/sys-apps/util-linux @@ -2,8 +2,8 @@ desc: mount, fdisk, lsblk, losetup and the other basics from the kernel people version: 2.42 url: https://cdn.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-${version}.tar.xz sha256: 3452b260bbaa775d6e749ac3bb22111785003fc1f444970025c8da26dfa758e9 -deps: +deps: sys-kernel/linux-headers devel/gmake steps: ./configure --prefix=$PREFIX --disable-shared --disable-nls --disable-liblastlog2 --without-python --without-systemd --without-udev --disable-makeinstall-chown --disable-makeinstall-setuid - make -j$JOBS - make DESTDIR=$DESTDIR install + gmake -j$JOBS + gmake DESTDIR=$DESTDIR install diff --git a/repo/sys-kernel/linux-headers b/repo/sys-kernel/linux-headers @@ -0,0 +1,9 @@ +desc: the Linux userspace headers (Alpine linux-headers, newer than the kernel and compatible with it) +version: 7.0.0 +url: https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/linux-headers-${version}-r1.apk +sha256: c4535f3f0dc6fd4d80efa7ff2a7a72a2d3f8dae31e2587c0785cc3243889cdf2 +deps: +steps: + tar -xzf linux-headers-*.apk 2>/dev/null || true + mkdir -p $DESTDIR$PREFIX + cp -R usr/include $DESTDIR$PREFIX/