mpv: fix typo in xkbcommon comment
[buildroot-gz.git] / package / eudev / eudev.mk
blob942770c4d93728434ffc6f257fcb2881d69d7cfa
1 ################################################################################
3 # eudev
5 ################################################################################
7 EUDEV_VERSION = 3.1.5
8 EUDEV_SOURCE = eudev-$(EUDEV_VERSION).tar.gz
9 EUDEV_SITE = http://dev.gentoo.org/~blueness/eudev
10 EUDEV_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
11 EUDEV_LICENSE_FILES = COPYING
12 EUDEV_INSTALL_STAGING = YES
14 # mq_getattr is in librt
15 EUDEV_CONF_ENV += LIBS=-lrt
17 EUDEV_CONF_OPTS = \
18 --disable-manpages \
19 --sbindir=/sbin \
20 --libexecdir=/lib \
21 --with-firmware-path=/lib/firmware \
22 --disable-introspection \
23 --enable-libkmod
25 EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
26 EUDEV_PROVIDES = udev
28 ifeq ($(BR2_ROOTFS_MERGED_USR),)
29 EUDEV_CONF_OPTS += --with-rootlibdir=/lib --enable-split-usr
30 endif
32 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
33 EUDEV_CONF_OPTS += --enable-rule-generator
34 endif
36 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y)
37 EUDEV_CONF_OPTS += --enable-hwdb
38 else
39 EUDEV_CONF_OPTS += --disable-hwdb
40 endif
42 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
43 EUDEV_CONF_OPTS += --enable-gudev
44 EUDEV_DEPENDENCIES += libglib2
45 else
46 EUDEV_CONF_OPTS += --disable-gudev
47 endif
49 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
50 EUDEV_CONF_OPTS += --enable-selinux
51 EUDEV_DEPENDENCIES += libselinux
52 else
53 EUDEV_CONF_OPTS += --disable-selinux
54 endif
56 define EUDEV_INSTALL_INIT_SYSV
57 $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
58 endef
60 # Required by default rules for input devices
61 define EUDEV_USERS
62 - - input -1 * - - - Input device group
63 endef
65 $(eval $(autotools-package))