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
21 --with-firmware-path
=/lib
/firmware \
22 --disable-introspection \
25 EUDEV_DEPENDENCIES
= host-gperf host-pkgconf util-linux kmod
28 ifeq ($(BR2_ROOTFS_MERGED_USR
),)
29 EUDEV_CONF_OPTS
+= --with-rootlibdir
=/lib
--enable-split-usr
32 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN
),y
)
33 EUDEV_CONF_OPTS
+= --enable-rule-generator
36 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB
),y
)
37 EUDEV_CONF_OPTS
+= --enable-hwdb
39 EUDEV_CONF_OPTS
+= --disable-hwdb
42 ifeq ($(BR2_PACKAGE_LIBGLIB2
),y
)
43 EUDEV_CONF_OPTS
+= --enable-gudev
44 EUDEV_DEPENDENCIES
+= libglib2
46 EUDEV_CONF_OPTS
+= --disable-gudev
49 ifeq ($(BR2_PACKAGE_LIBSELINUX
),y
)
50 EUDEV_CONF_OPTS
+= --enable-selinux
51 EUDEV_DEPENDENCIES
+= libselinux
53 EUDEV_CONF_OPTS
+= --disable-selinux
56 define EUDEV_INSTALL_INIT_SYSV
57 $(INSTALL
) -D
-m
0755 package
/eudev
/S10udev
$(TARGET_DIR
)/etc
/init.d
/S10udev
60 # Required by default rules for input devices
62 - - input
-1 * - - - Input device group
65 $(eval
$(autotools-package
))