2006-06-27 03:44:04 +03:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2005-03-06 05:53:29 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2006-09-24 23:49:31 +03:00
|
|
|
PKG_NAME:=sed
|
|
|
|
PKG_VERSION:=4.1.2
|
|
|
|
|
2006-06-21 09:19:43 +03:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/$(PKG_NAME)
|
|
|
|
PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
|
|
|
|
PKG_CAT:=zcat
|
2007-08-07 03:04:25 +03:00
|
|
|
export SED:=
|
2005-07-20 17:58:27 +03:00
|
|
|
|
2006-06-21 09:19:43 +03:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2005-07-20 17:58:27 +03:00
|
|
|
|
2006-10-11 01:29:46 +03:00
|
|
|
define Build/Compile
|
2006-11-12 04:45:13 +02:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
|
2006-10-11 01:29:46 +03:00
|
|
|
endef
|
2005-07-20 17:58:27 +03:00
|
|
|
|
2006-10-11 01:29:46 +03:00
|
|
|
define Build/Install
|
2007-08-07 03:04:25 +03:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Clean
|
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/sed
|
2006-10-11 01:29:46 +03:00
|
|
|
endef
|
2005-07-20 17:58:27 +03:00
|
|
|
|
2006-06-21 09:19:43 +03:00
|
|
|
$(eval $(call HostBuild))
|