mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
sys-libs/libudev-zero: new pkg from ::lanodanOverlay, add 1.0.3
Also added `tc-export CC` for full -native-symlinks systems. Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
28
sys-libs/libudev-zero/libudev-zero-1.0.3.ebuild
Normal file
28
sys-libs/libudev-zero/libudev-zero-1.0.3.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2024-2026 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Daemonless replacement for libudev"
|
||||
HOMEPAGE="https://github.com/illiliti/libudev-zero"
|
||||
SRC_URI="https://github.com/illiliti/libudev-zero/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="!sys-apps/systemd-utils[udev]"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake libudev.so.1
|
||||
use static-libs && emake AR="$(tc-getAR)" libudev.a
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install-shared
|
||||
use static-libs && emake DESTDIR="${D}" PREFIX=/usr install-static
|
||||
}
|
||||
Reference in New Issue
Block a user