eudev: update to 3.2.10.

This commit is contained in:
Đoàn Trần Công Danh 2021-03-13 07:47:08 +07:00
parent ea41ac0d5e
commit 1610c677b2

View file

@ -3,30 +3,34 @@
_UDEV_VERSION="243" # compatible udev version provided
pkgname=eudev
version=3.2.9
version=3.2.10
revision=1
build_style=gnu-configure
configure_args="--enable-hwdb --enable-manpages --disable-introspection"
hostmakedepends="automake libtool pkg-config gperf libxslt docbook-xsl"
hostmakedepends="pkg-config gperf"
makedepends="libblkid-devel libkmod-devel"
checkdepends="xz"
checkdepends="xz tar perl"
short_desc="Gentoo's fork of systemd-udev (enhanced userland device daemon)"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/gentoo/eudev"
distfiles="https://github.com/gentoo/eudev/archive/v${version}.tar.gz"
checksum=7d281276b480da3935d1acb239748c2c9db01a8043aad7e918ce57a223d8cd24
# Gentoo's ebuild uses this tarball
distfiles="https://dev.gentoo.org/~blueness/eudev/eudev-${version}.tar.gz"
checksum=87bb028d470fd1b85169349b44c55d5b733733dc2d50ddf1196e026725ead034
conf_files="/etc/udev/udev.conf"
pre_configure() {
autoreconf -fi
}
post_install() {
mv "${DESTDIR}/etc/udev/hwdb.d" "${DESTDIR}/usr/lib/udev"
vsv udevd
}
do_check() {
# requires unshare(2) which is not available in chroot
if [ ! "$XBPS_ALLOW_CHROOT_BREAKOUT" ]; then
make check
fi
}
eudev-libudev-devel_package() {
provides="libudev-devel-${_UDEV_VERSION}_${revision}"
depends="eudev-libudev>=${version}_${revision}"