Files
buildroot/package/libudev-zero/libudev-zero.mk
Bernd Kuhls 3dd9f98978 package/libudev-zero: bump version to 1.0.4
https://github.com/illiliti/libudev-zero/releases/tag/1.0.4

Removed patch which is included in this release.

Added buildroot-specific PREFIX to _BUILD_CMDS to override default
'/usr/local' in upstream Makefile to be compatible with the install
location of usb.ids provided by the hwdata package.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 13:39:53 +02:00

30 lines
879 B
Makefile

################################################################################
#
# libudev-zero
#
################################################################################
LIBUDEV_ZERO_VERSION = 1.0.4
LIBUDEV_ZERO_SITE = $(call github,illiliti,libudev-zero,$(LIBUDEV_ZERO_VERSION))
LIBUDEV_ZERO_LICENSE = ISC
LIBUDEV_ZERO_LICENSE_FILES = LICENSE
LIBUDEV_ZERO_INSTALL_STAGING = YES
LIBUDEV_ZERO_PROVIDES = libudev
define LIBUDEV_ZERO_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
PREFIX=/usr
endef
define LIBUDEV_ZERO_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
DESTDIR=$(STAGING_DIR) PREFIX=/usr install
endef
define LIBUDEV_ZERO_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))