From 8d3e6abc6b7120e7d2b84cac07237e67429e2283 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 7 Jan 2011 12:24:53 -0300 Subject: [PATCH] e2fsprogs: bump to 1.41.14 and fixup Bump e2fsprogs to version 1.41.14 Also export libblkid properly for util-linux to use. [Peter: install pkg-config files] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/e2fsprogs/e2fsprogs.mk | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index f5258044df..cf1a6b857c 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -3,15 +3,10 @@ # e2fsprogs # ############################################################# -E2FSPROGS_VERSION:=1.41.12 -E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VERSION).tar.gz -E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs - -E2FSPROGS_AUTORECONF = NO -E2FSPROGS_LIBTOOL_PATCH = NO +E2FSPROGS_VERSION = 1.41.14 +E2FSPROGS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs E2FSPROGS_INSTALL_STAGING = YES -E2FSPROGS_INSTALL_TARGET = YES E2FSPROGS_CONF_OPT = \ --disable-tls \ @@ -112,11 +107,26 @@ endif define E2FSPROGS_STAGING_LIBUUID_INSTALL install -D $(@D)/lib/uuid/uuid.h $(STAGING_DIR)/usr/include/uuid/uuid.h + install -D $(@D)/lib/uuid/uuid.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/uuid.pc endef ifeq ($(BR2_PACKAGE_E2FSPROGS_LIBUUID),y) E2FSPROGS_POST_INSTALL_STAGING_HOOKS += E2FSPROGS_STAGING_LIBUUID_INSTALL endif +define E2FSPROGS_STAGING_LIBBLKID_INSTALL + install -D $(@D)/lib/blkid/blkid.h \ + $(STAGING_DIR)/usr/include/blkid/blkid.h + install -D $(@D)/lib/blkid/blkid_types.h \ + $(STAGING_DIR)/usr/include/blkid/blkid_types.h + install -D $(@D)/lib/blkid/blkid.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/blkid.pc +endef + +ifeq ($(BR2_PACKAGE_E2FSPROGS_LIBBLKID),y) +E2FSPROGS_POST_INSTALL_STAGING_HOOKS += E2FSPROGS_STAGING_LIBBLKID_INSTALL +endif + $(eval $(call AUTOTARGETS,package,e2fsprogs)) $(eval $(call AUTOTARGETS,package,e2fsprogs,host)) -- 2.30.2