2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
12 PKG_MD5SUM:=004cea70d724fdc7f1a952dffe4c9db8
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/e2fsprogs
18 include $(INCLUDE_DIR)/host-build.mk
21 $(call Host/Configure/Default,\
26 --disable-dynamic-e2fsck \
29 --without-libiconv-prefix \
30 --without-libintl-prefix \
35 $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid libuuid.a
39 $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/uuid}
40 $(CP) $(HOST_BUILD_DIR)/lib/uuid/uuid.h $(STAGING_DIR_HOST)/include/uuid/
41 $(CP) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
45 rm -f $(STAGING_DIR_HOST)/include/uuid/uuid.h
46 rm -f $(STAGING_DIR_HOST)/lib/uuid/libuuid.*
47 $(call Host/Clean/Default)
50 $(eval $(call HostBuild))