toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / eudev / eudev.mk
blobd80394743913235f4bbdb67b991216fe42cd4cb4
1 ################################################################################
3 # eudev
5 ################################################################################
7 EUDEV_VERSION = 3.2.1
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-kmod \
24 --enable-blkid
26 EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
27 EUDEV_PROVIDES = udev
29 ifeq ($(BR2_ROOTFS_MERGED_USR),)
30 EUDEV_CONF_OPTS += --with-rootlibdir=/lib --enable-split-usr
31 endif
33 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
34 EUDEV_CONF_OPTS += --enable-rule-generator
35 else
36 EUDEV_CONF_OPTS += --disable-rule-generator
37 endif
39 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y)
40 EUDEV_CONF_OPTS += --enable-hwdb
41 else
42 EUDEV_CONF_OPTS += --disable-hwdb
43 endif
45 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
46 EUDEV_CONF_OPTS += --enable-selinux
47 EUDEV_DEPENDENCIES += libselinux
48 else
49 EUDEV_CONF_OPTS += --disable-selinux
50 endif
52 define EUDEV_INSTALL_INIT_SYSV
53 $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
54 endef
56 # Required by default rules for input devices
57 define EUDEV_USERS
58 - - input -1 * - - - Input device group
59 endef
61 $(eval $(autotools-package))