7cfc0f8935
- Switch EUDEV_SITE to official upstream: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/eudev/eudev-1.9-r1.ebuild?view=markup Github does not carry this current eudev version. - Remove EUDEV_AUTORECONF = yes, tarball contains ./configure Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# eudev
|
|
#
|
|
################################################################################
|
|
|
|
EUDEV_VERSION = 1.9
|
|
EUDEV_SOURCE = eudev-$(EUDEV_VERSION).tar.gz
|
|
EUDEV_SITE = http://dev.gentoo.org/~blueness/eudev
|
|
EUDEV_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
|
|
EUDEV_LICENSE_FILES = COPYING
|
|
EUDEV_INSTALL_STAGING = 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
|
|
EUDEV_PROVIDES = udev
|
|
|
|
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))
|