1 ################################################################################
5 ################################################################################
8 EUDEV_SITE
= http
://dev.gentoo.org
/~blueness
/eudev
9 EUDEV_LICENSE
= GPLv2
+ (programs
), LGPLv2.1
+ (libraries
)
10 EUDEV_LICENSE_FILES
= COPYING
11 EUDEV_INSTALL_STAGING
= YES
13 # mq_getattr is in librt
14 EUDEV_CONF_ENV
+= LIBS
=-lrt
20 --disable-introspection \
24 EUDEV_DEPENDENCIES
= host-gperf host-pkgconf util-linux kmod
27 ifeq ($(BR2_ROOTFS_MERGED_USR
),)
28 EUDEV_CONF_OPTS
+= --with-rootlibdir
=/lib
--enable-split-usr
31 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN
),y
)
32 EUDEV_CONF_OPTS
+= --enable-rule-generator
34 EUDEV_CONF_OPTS
+= --disable-rule-generator
37 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB
),y
)
38 EUDEV_CONF_OPTS
+= --enable-hwdb
40 EUDEV_CONF_OPTS
+= --disable-hwdb
43 ifeq ($(BR2_PACKAGE_LIBSELINUX
),y
)
44 EUDEV_CONF_OPTS
+= --enable-selinux
45 EUDEV_DEPENDENCIES
+= libselinux
47 EUDEV_CONF_OPTS
+= --disable-selinux
50 define EUDEV_INSTALL_INIT_SYSV
51 $(INSTALL
) -D
-m
0755 package
/eudev
/S10udev
$(TARGET_DIR
)/etc
/init.d
/S10udev
54 # Required by default rules for input devices
56 - - input
-1 * - - - Input device group
59 $(eval
$(autotools-package
))