]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - udev/udev.nm
Merge remote-tracking branch 'maniacikarus/samba'
[people/amarx/ipfire-3.x.git] / udev / udev.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = udev
7 version = 180
8 release = 1
9
10 groups = System/Base
11 url = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
12 license = GPLv2+
13 summary = A userspace implementation of devfs.
14
15 description
16 The udev package contains an implementation of devfs in userspace using \
17 sysfs and netlink.
18 end
19
20 source_dl = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
21
22 build
23 requires
24 glib2-devel
25 gobject-introspection-devel
26 gperf
27 kbd
28 kmod-devel >= 3
29 libacl-devel
30 libblkid-devel >= 2.20
31 libselinux-devel
32 libsepol-devel
33 libuuid-devel
34 libusb-compat-devel
35 libxslt
36 pciutils
37 pkg-config
38 usbutils
39 end
40
41 configure_options += \
42 --exec-prefix="" \
43 --sbindir=/sbin \
44 --sysconfdir=/etc \
45 --libexecdir=/%{lib} \
46 --with-rootprefix="" \
47 --with-rootlibdir=/%{lib} \
48 --with-selinux \
49 --with-systemdsystemunitdir=/lib/systemd/system
50
51 install_cmds
52 rm -vf %{BUILDROOT}/%{lib}/lib{udev,gudev-1.0}.so
53 ln -svf ../../%{lib}/libudev.so.0 %{BUILDROOT}%{libdir}/libudev.so
54 ln -svf ../../%{lib}/libgudev-1.0.so.0 %{BUILDROOT}%{libdir}/libgudev-1.0.so
55 end
56 end
57
58 packages
59 package %{name}
60 groups += Base
61 end
62
63 package lib%{name}
64 template LIBS
65 end
66
67 package lib%{name}-devel
68 template DEVEL
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end