sys-fs/mdevd - 0.1.8.2 (guru)

Search

Install

Install this version:

emerge -a =sys-fs/mdevd-0.1.8.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/mdevd-0.1.8.2

Or alternatively:

emerge --autounmask-write -a =sys-fs/mdevd-0.1.8.2

Package Information

Description:
small daemon managing kernel hotplug events, similarly to udevd
Homepage:
https://skarnet.org/software/mdevd/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
0.1.8.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit optfeature toolchain-funcs

DESCRIPTION="small daemon managing kernel hotplug events, similarly to udevd"
HOMEPAGE="https://skarnet.org/software/mdevd/"
SRC_URI="https://skarnet.org/software/mdevd/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

# Note: mdevd has optional support for nsss, which isn't packaged in gentoo
RDEPEND=">=dev-libs/skalibs-2.14.5.0:="
DEPEND="${RDEPEND}"

DOCS=( AUTHORS NEWS README doc/ examples )

src_configure() {
	tc-export CC

	# --with-dynlib and --with-sysdeps needs to match skalibs' --dynlibdir and --sysdepdir respectively
	local myconf=(
		--dynlibdir="/$(get_libdir)"
		--libdir="/usr/$(get_libdir)/${PN}"
		--sysconfdir=/etc

		--with-dynlib="/$(get_libdir)"
		--with-sysdeps="/usr/$(get_libdir)/skalibs/"

		--enable-shared
		--disable-allstatic
	)

	econf "${myconf[@]}"
}

src_compile() {
	emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB)
}

pkg_postinst() {
	optfeature "For +/-/& command directives in mdev.conf" dev-lang/execline
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/skalibs-2.14.5.0:=

RDEPEND

>=dev-libs/skalibs-2.14.5.0:=

Manifest for 0.1.8.2

Type File Size Source URLs
DIST mdevd-0.1.8.2.tar.gz 38666 bytes https://skarnet.org/software/mdevd/mdevd-0.1.8.2.tar.gz