2006-06-27 02:44:04 +02:00
|
|
|
#
|
2010-10-05 15:51:54 +02:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-06-27 02:44:04 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2005-03-06 04:53:29 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2006-09-24 22:49:31 +02:00
|
|
|
PKG_NAME:=sed
|
2010-10-05 15:51:54 +02:00
|
|
|
PKG_VERSION:=4.2.1
|
2006-09-24 22:49:31 +02:00
|
|
|
|
2010-10-05 15:51:54 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2009-05-31 12:07:35 +02:00
|
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
2010-10-05 15:51:54 +02:00
|
|
|
PKG_MD5SUM:=7d310fbd76e01a01115075c1fd3f455a
|
|
|
|
PKG_CAT:=bzcat
|
2007-08-07 02:04:25 +02:00
|
|
|
export SED:=
|
2005-07-20 16:58:27 +02:00
|
|
|
|
2006-06-21 08:19:43 +02:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2005-07-20 16:58:27 +02:00
|
|
|
|
2009-02-22 05:37:20 +01:00
|
|
|
define Host/Compile
|
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
|
2006-10-11 00:29:46 +02:00
|
|
|
endef
|
2005-07-20 16:58:27 +02:00
|
|
|
|
2009-02-22 05:37:20 +01:00
|
|
|
define Host/Install
|
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
|
2007-08-07 02:04:25 +02:00
|
|
|
endef
|
|
|
|
|
2009-02-22 05:37:20 +01:00
|
|
|
define Host/Clean
|
2007-08-07 02:04:25 +02:00
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/sed
|
2006-10-11 00:29:46 +02:00
|
|
|
endef
|
2005-07-20 16:58:27 +02:00
|
|
|
|
2006-06-21 08:19:43 +02:00
|
|
|
$(eval $(call HostBuild))
|