udev: use and depend on hwids.
This commit is contained in:
parent
244b4c57b0
commit
785eba71f8
3 changed files with 11 additions and 14 deletions
|
@ -1,15 +1,13 @@
|
||||||
# Template file for 'libudev-devel'.
|
# Template file for 'libudev-devel'.
|
||||||
#
|
#
|
||||||
depends="glibc-devel libudev"
|
depends="glibc-devel libudev>=$version"
|
||||||
short_desc="libudev development files"
|
short_desc="libudev development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains the files needed for developing applications
|
This package contains the files needed for developing applications
|
||||||
that use libudev."
|
that use libudev."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/share/gtk-doc usr/share
|
vmove usr/share/gtk-doc usr/share
|
||||||
vmove usr/lib/pkgconfig/libudev.pc usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig/libudev.pc usr/lib/pkgconfig
|
||||||
|
|
|
@ -5,8 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This library provides access to udev device information."
|
This library provides access to udev device information."
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
|
||||||
vmove "lib/libudev.so*" lib
|
vmove "lib/libudev.so*" lib
|
||||||
vmove "usr/lib/libudev.so" usr/lib
|
vmove "usr/lib/libudev.so" usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,21 @@
|
||||||
# Template file for 'udev'
|
# Template file for 'udev'
|
||||||
pkgname=udev
|
pkgname=udev
|
||||||
version=182
|
version=182
|
||||||
|
revision=1
|
||||||
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/sbin --without-selinux --libexecdir=/lib
|
configure_args="--sbindir=/sbin --without-selinux --libexecdir=/lib
|
||||||
--with-rootlibdir=/lib --disable-introspection --enable-floppy
|
--with-rootlibdir=/lib --disable-introspection --enable-floppy
|
||||||
--with-systemdsystemunitdir=/lib/systemd/system --disable-gudev
|
--with-systemdsystemunitdir=/lib/systemd/system --disable-gudev
|
||||||
--disable-static --disable-rule-generator
|
--disable-static --disable-rule-generator
|
||||||
--with-firmware-path=/lib/firmware/updates:/lib/firmware"
|
--with-firmware-path=/lib/firmware/updates:/lib/firmware
|
||||||
|
--with-pci-ids-path=/usr/share/hwdata/pci.ids
|
||||||
|
--with-usb-ids-path=/usr/share/hwdata/usb.ids"
|
||||||
makedepends="pkg-config gperf libxslt libblkid-devel libkmod-devel"
|
makedepends="pkg-config gperf libxslt libblkid-devel libkmod-devel"
|
||||||
fulldepends="usbutils>=0.82 pciutils"
|
fulldepends="hwids"
|
||||||
|
systemd_services="udev.service on"
|
||||||
|
conf_files="/etc/udev/udev.conf"
|
||||||
|
subpackages="libudev libudev-devel"
|
||||||
short_desc="/dev/ and hotplug management daemon"
|
short_desc="/dev/ and hotplug management daemon"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
|
homepage="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
|
||||||
|
@ -19,12 +25,6 @@ long_desc="
|
||||||
udev is a daemon which dynamically creates and removes device nodes from
|
udev is a daemon which dynamically creates and removes device nodes from
|
||||||
/dev/, handles hotplug events and loads drivers at boot time."
|
/dev/, handles hotplug events and loads drivers at boot time."
|
||||||
|
|
||||||
systemd_services="udev.service on"
|
|
||||||
conf_files="/etc/udev/udev.conf"
|
|
||||||
subpackages="libudev libudev-devel"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install the initramfs-tools hook/scripts.
|
# Install the initramfs-tools hook/scripts.
|
||||||
vinstall ${FILESDIR}/udev.initramfs-hook 755 \
|
vinstall ${FILESDIR}/udev.initramfs-hook 755 \
|
||||||
|
|
Loading…
Reference in a new issue