2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
18 include $(INCLUDE_DIR)/host-build.mk
20 define Build/Configure
21 ( cd $(PKG_BUILD_DIR); \
23 --prefix=$(STAGING_DIR_HOST) \
29 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
33 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
37 rm -f $(STAGING_DIR_HOST)/bin/sed
40 $(eval $(call HostBuild))