d5604d9c3d
If host-libxslt or some libxslt is around (xsltproc) eudev will try to build manpages with it. Problem is docbook DTDs might not be around and things will break. We want no manpages anyway. Fixes: http://autobuild.buildroot.net/results/c4e/c4e920b16c57e79df979f00cceaea7c0483f043c/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# eudev
|
|
#
|
|
################################################################################
|
|
|
|
EUDEV_VERSION = 1.3
|
|
EUDEV_SITE = $(call github,gentoo,eudev,v$(EUDEV_VERSION))
|
|
EUDEV_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
|
|
EUDEV_LICENSE_FILES = COPYING
|
|
EUDEV_INSTALL_STAGING = YES
|
|
EUDEV_AUTORECONF = YES
|
|
|
|
# mq_getattr is in librt
|
|
EUDEV_CONF_ENV += LIBS=-lrt
|
|
|
|
EUDEV_CONF_OPT = \
|
|
--disable-manpages \
|
|
--sbindir=/sbin \
|
|
--with-rootlibdir=/lib \
|
|
--libexecdir=/lib \
|
|
--with-firmware-path=/lib/firmware \
|
|
--disable-introspection \
|
|
--enable-split-usr \
|
|
--enable-libkmod
|
|
|
|
EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
|
|
|
|
ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
|
|
EUDEV_CONF_OPT += --enable-rule_generator
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
EUDEV_CONF_OPT += --enable-gudev
|
|
EUDEV_DEPENDENCIES += libglib2
|
|
else
|
|
EUDEV_CONF_OPT += --disable-gudev
|
|
endif
|
|
|
|
define EUDEV_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|