summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-01-07 12:24:53 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-09 22:40:44 +0100
commit8d3e6abc6b7120e7d2b84cac07237e67429e2283 (patch)
tree10914d35b6d3a9d29252d21d41e08f712d205b9a
parent43987641d3325a24f6db2785c17c3485c06a0719 (diff)
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 <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/e2fsprogs/e2fsprogs.mk24
1 files changed, 17 insertions, 7 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index f5258044d..cf1a6b857 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))