2 # Copyright (C) 2006-2010 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
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
16 PKG_MD5SUM:=7d310fbd76e01a01115075c1fd3f455a
20 include $(INCLUDE_DIR)/package.mk
25 TITLE:=GNU streams editor
26 URL:=http://ftp.gnu.org/gnu/sed/
29 define Package/sed/description
30 Sed (streams editor) takes text input and performs some operation
31 (or set of operations) on it and outputs the modified text.
35 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
37 HOST="$(GNU_TARGET_NAME)" \
39 define Package/sed/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sed $(1)/usr/bin/
44 $(eval $(call BuildPackage,sed))