sys-fs/libudev-zero
This commit is contained in:
parent
15f2d973cb
commit
3943a38f92
4 changed files with 52 additions and 1 deletions
3
sys-fs/libudev-zero/Manifest
Normal file
3
sys-fs/libudev-zero/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
|||
DIST libudev-zero-1.0.1.tar.gz 12350 BLAKE2B 5f95d413b3d15dc5480a11d36299ae1c1428161fd48a4eb9a602c2461f8d1f5f3bd667280dfbe52feb48119ebc7211143d440f2293eecbd12ef5d51be9b853a0 SHA512 fb2c0350ed6e4a8c2b1e35c2c132d97e37f5e79a6e50f607ae5dda3a27ef02e4522d11bdb3114e547af27fcc4e140a962b56a8a9e7438b3182d2f8b666c55941
|
||||
EBUILD libudev-zero-1.0.1.ebuild 987 BLAKE2B b1d75aadc2b04a2e6cf8cdfcb502930bc2879e1edf35d735c83bdcc6eb4cc9c1d6f5c6867eaa8a1b26d1b1532fbd65df2a0f4de6135f2de28227fadaaf4922c1 SHA512 c33bac9c992beb74cdd71940aa43040f5362cba7f500dd441e1b8d3655c48fdd352855136713a08411aae3dcfbc3240fa639e57df1b173af97f45d5c1dd86e5e
|
||||
MISC metadata.xml 252 BLAKE2B 99d6513bf6baed1c7eb51edd2b3a2c6484b380b3971a4686e1946fbbd34b1f6c7d29c61e35ca667285b4104255c084a9a4b7af7625f2379b8af54caab4a6c9e6 SHA512 1189ba36d05f6f4c892afd68eb93542585d2c4cb4f7add03121dc351ea80b42c46589494b943de4596dc2b868a164c4a18bcb2ae98b067114f32b02288d85715
|
40
sys-fs/libudev-zero/libudev-zero-1.0.1.ebuild
Normal file
40
sys-fs/libudev-zero/libudev-zero-1.0.1.ebuild
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Drop-in replacement for libudev intended to work with any device manager"
|
||||
HOMEPAGE="https://github.com/illiliti/libudev-zero"
|
||||
# https://github.com/illiliti/libudev-zero/archive/refs/tags/1.0.1.tar.gz
|
||||
SRC_URI="https://github.com/illiliti/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
DEPEND=" !sys-apps/systemd-utils[udev] !sys-fs/eudev !sys-fs/udev "
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_install() {
|
||||
PREFIX=${ED}/usr
|
||||
case ${ARCH} in
|
||||
"amd64")
|
||||
LIBDIR="${PREFIX}/lib64"
|
||||
;;
|
||||
"arm64")
|
||||
LIBDIR="${PREFIX}/lib64"
|
||||
;;
|
||||
"ia64")
|
||||
LIBDIR="${PREFIX}/lib64"
|
||||
;;
|
||||
"ppc64")
|
||||
LIBDIR="${PREFIX}/lib64"
|
||||
;;
|
||||
*)
|
||||
LIBDIR="${PREFIX}/lib"
|
||||
;;
|
||||
esac
|
||||
einfo "PREFIX=${PREFIX} LIBDIR=${LIBDIR}"
|
||||
make PREFIX=${PREFIX} LIBDIR=${LIBDIR} install
|
||||
}
|
8
sys-fs/libudev-zero/metadata.xml
Normal file
8
sys-fs/libudev-zero/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sandino@sandino.net</email>
|
||||
<name>Sandino Araico Sanchez</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -15,7 +15,7 @@ RDEPEND="
|
|||
!systemd? ( || (
|
||||
sys-apps/systemd-utils[udev,${MULTILIB_USEDEP}]
|
||||
sys-fs/udev[${MULTILIB_USEDEP}]
|
||||
sys-fs/libudev-zero[${MULTILIB_USEDEP}]
|
||||
sys-fs/libudev-zero
|
||||
>=sys-fs/eudev-3.2.9:0/0[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
systemd? ( >=sys-apps/systemd-232:0/2[${MULTILIB_USEDEP}] )
|
||||
|
|
Loading…
Reference in a new issue