2010-01-11 13:18:26 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=e2fsprogs
|
|
|
|
PKG_VERSION:=1.40.11
|
|
|
|
PKG_MD5SUM:=004cea70d724fdc7f1a952dffe4c9db8
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/e2fsprogs
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Configure
|
|
|
|
$(call Host/Configure/Default,\
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-rpath \
|
|
|
|
--enable-elf-shlibs \
|
|
|
|
--disable-dynamic-e2fsck \
|
|
|
|
--disable-tls \
|
|
|
|
--disable-uuidd \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Compile
|
2010-01-16 02:11:38 +02:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid libuuid.a
|
2010-01-11 13:18:26 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
2010-01-13 07:21:50 +02:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/uuid}
|
|
|
|
$(CP) $(HOST_BUILD_DIR)/lib/uuid/uuid.h $(STAGING_DIR_HOST)/include/uuid/
|
2010-01-16 02:11:38 +02:00
|
|
|
$(CP) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
|
2010-01-11 13:18:26 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Clean
|
2010-01-13 07:21:50 +02:00
|
|
|
rm -f $(STAGING_DIR_HOST)/include/uuid/uuid.h
|
2010-01-16 02:11:38 +02:00
|
|
|
rm -f $(STAGING_DIR_HOST)/lib/uuid/libuuid.*
|
2010-01-11 13:18:26 +02:00
|
|
|
$(call Host/Clean/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|