1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
13 summary = A userspace implementation of devfs.
16 The udev package contains an implementation of devfs in userspace using \
20 source_dl = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
37 configure_options += \
41 --libexecdir=/lib/udev \
42 --with-rootlibdir=/lib \
44 --disable-introspection \
45 --with-systemdsystemunitdir=/lib/systemd/system
48 # Install pkg-config files correctly
49 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib
51 rm -vf %{BUILDROOT}/lib/lib{udev,gudev-1.0}.so
52 ln -svf ../../lib/libudev.so.0 %{BUILDROOT}/usr/lib/libudev.so
53 ln -svf ../../lib/libgudev-1.0.so.0 %{BUILDROOT}/usr/lib/libgudev-1.0.so
55 ln -svf ../../../../lib/udev/udev-acl \
56 %{BUILDROOT}/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
58 # Remove network rules. We have our own in the network package.
59 rm -v %{BUILDROOT}/lib/udev/{write_net_rules,rules.d/75-persistent-net-generator.rules}
72 package lib%{name}-devel
76 package %{name}-debuginfo