logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 48c1b5b870e441875e8c1fcae96ba67887a2f774
parent 841ff8723bf7afefa1617c053f6f1cea1a2b9a4f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 21 Apr 2024 07:21:12 +0200

sys-fs/mdevd: new package, add 0.1.6.3

Diffstat:

Asys-fs/mdevd/Manifest1+
Asys-fs/mdevd/mdevd-0.1.6.3.ebuild36++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/sys-fs/mdevd/Manifest b/sys-fs/mdevd/Manifest @@ -0,0 +1 @@ +DIST mdevd-0.1.6.3.tar.gz 33088 BLAKE2B c98d93e8190dcbe38ce506db1c063dcf97ef23a3604ef06f3ba767518a62f2ef1502e47dc63b1ff002a468bbdebcc71d17b1773e1be693014ccb75cafb9d49ef SHA512 2962be689858117960aa5b332bbc7ca31c2d6592bae1c10acb35a7d66e4bf093cc70d2966649b742ce10ab3ac252b49a4b86b2c548355544aae65ca6214cdaf1 diff --git a/sys-fs/mdevd/mdevd-0.1.6.3.ebuild b/sys-fs/mdevd/mdevd-0.1.6.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# 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" +IUSE="" + +RDEPEND=">=dev-libs/skalibs-2.14.0.0:=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README doc/ examples ) + +src_configure() { + econf \ + --with-sysdeps=/usr/$(get_libdir)/skalibs/ \ + --enable-shared \ + --disable-static + + # TODO: --enable-nsss +} + +src_compile() { + emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) +} + +pkg_postinst() { + optfeature "For +/-/& command directives in mdev.conf" dev-lang/execline +}