diff --git a/package/libgpiod/libgpiod.hash b/package/libgpiod/libgpiod.hash index aeeabf6a42..28a0479bd7 100644 --- a/package/libgpiod/libgpiod.hash +++ b/package/libgpiod/libgpiod.hash @@ -1,2 +1,2 @@ -# Locally computed -sha256 24794006c14194e269b944f2cca0e85e481f1538be3c143479c4c6691bf25add libgpiod-v0.3.tar.gz +# From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc +sha256 6dfd6aeb544e8b7baf484a05c9ae0e67022c109362a41d87005393046b6beacf libgpiod-0.3.1.tar.xz diff --git a/package/libgpiod/libgpiod.mk b/package/libgpiod/libgpiod.mk index 559e3d18bf..7c2424bd65 100644 --- a/package/libgpiod/libgpiod.mk +++ b/package/libgpiod/libgpiod.mk @@ -4,23 +4,15 @@ # ################################################################################ -LIBGPIOD_VERSION = v0.3 -LIBGPIOD_SITE = $(call github,brgl,libgpiod,$(LIBGPIOD_VERSION)) +LIBGPIOD_VERSION = 0.3.1 +LIBGPIOD_SOURCE = libgpiod-$(LIBGPIOD_VERSION).tar.xz +LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod LIBGPIOD_LICENSE = LGPL-2.1+ LIBGPIOD_LICENSE_FILES = COPYING LIBGPIOD_INSTALL_STAGING = YES LIBGPIOD_DEPENDENCIES = host-pkgconf -# Needed for autoreconf to work properly -define LIBGPIOD_FIXUP_M4_DIR - mkdir $(@D)/m4 -endef -LIBGPIOD_POST_EXTRACT_HOOKS += LIBGPIOD_FIXUP_M4_DIR - -# fetched from github, no configure script provided -LIBGPIOD_AUTORECONF = YES - ifeq ($(BR2_PACKAGE_LIBGPIOD_TOOLS),y) LIBGPIOD_CONF_OPTS += --enable-tools else