sys-kernel/modprobed-db: new package, add 2.46

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-05-10 19:40:34 -04:00
committed by Sam James
parent 7fd7bad73f
commit ce2e37ca20
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST modprobed-db-2.46.tar.gz 7210 BLAKE2B c7c5535a85c5a593fff507073120c8c355c8b46513bcb3b922be4a7d178be97aa3e84802a3d39c31a3219057f745fdb641f0a821fd4fe5d33acb48865e5090b2 SHA512 cf580bd386ca5fd232e96f33ecd61982d3ac4563f8e27b2b99bfbd2a8b8171585c8949df812ba8d85488c729570684983a63a6090ec3c05a890db5d6e864c05c

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>eschwartz93@gmail.com</email>
<name>Eli Schwartz</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">graysky2/modprobed-db</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Keeps track of EVERY kernel module ever used - useful for make localmodconfig"
HOMEPAGE="https://github.com/graysky2/modprobed-db"
SRC_URI="https://github.com/graysky2/modprobed-db/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
# Automatically compresses manpages, which is a PMS functionality
# (and every other distro has the same policy!).
sed -i '/gzip -9/d' Makefile || die
default
}
src_install() {
emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INITDIR_SYSTEMD="$(systemd_get_userunitdir)"
}