eudev: rather than conflicting against systemd/udev, replace them.
This commit is contained in:
parent
85c35818ae
commit
823b153571
1 changed files with 7 additions and 6 deletions
|
@ -4,9 +4,8 @@ _UDEV_VERSION="214" # compatible udev version provided
|
|||
|
||||
pkgname=eudev
|
||||
version=1.8
|
||||
revision=2
|
||||
revision=3
|
||||
conf_files="/etc/udev/udev.conf"
|
||||
conflicts="systemd>=0"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-libkmod"
|
||||
hostmakedepends="automake libtool pkg-config gperf glib-devel"
|
||||
|
@ -18,6 +17,8 @@ homepage="http://www.gentoo.org/proj/en/eudev/"
|
|||
distfiles="http://dev.gentoo.org/~blueness/eudev/eudev-${version}.tar.gz"
|
||||
checksum=fb7d4d98e6c91cf0354c3b702b5919d1caac5f50d1fc64b33f5854dd68792010
|
||||
|
||||
replaces="systemd>=0"
|
||||
|
||||
# Some udev rules expect an 'input' group.
|
||||
system_groups="input:25"
|
||||
|
||||
|
@ -37,7 +38,7 @@ pre_configure() {
|
|||
|
||||
eudev-libgudev-devel_package() {
|
||||
provides="libgudev-devel-${_UDEV_VERSION}_${revision}"
|
||||
conflicts="libgudev-devel>=0"
|
||||
replaces="libgudev-devel>=0"
|
||||
depends="eudev-libgudev>=${version}_${revision}"
|
||||
short_desc+=" - gudev development files"
|
||||
pkg_install() {
|
||||
|
@ -53,7 +54,7 @@ eudev-libgudev-devel_package() {
|
|||
|
||||
eudev-libgudev_package() {
|
||||
provides="libgudev-${_UDEV_VERSION}_${revision}"
|
||||
conflicts="libgudev>=0"
|
||||
replaces="libgudev>=0"
|
||||
short_desc+=" - gudev runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libgudev-1.0.so.*"
|
||||
|
@ -65,7 +66,7 @@ eudev-libgudev_package() {
|
|||
|
||||
eudev-libudev-devel_package() {
|
||||
provides="libudev-devel-${_UDEV_VERSION}_${revision}"
|
||||
conflicts="libudev-devel>=0"
|
||||
replaces="libudev-devel>=0"
|
||||
depends="eudev-libudev>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
|
@ -79,7 +80,7 @@ eudev-libudev-devel_package() {
|
|||
|
||||
eudev-libudev_package() {
|
||||
provides="libudev-${_UDEV_VERSION}_${revision}"
|
||||
conflicts="libudev>=0"
|
||||
replaces="libudev>=0"
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
|
|
Loading…
Reference in a new issue