[utils/sed] add GNU streams editor
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21152 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
812cae6f9f
commit
0c1a697a88
44
utils/sed/Makefile
Normal file
44
utils/sed/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
#
|
||||
# Copyright (C) 2006 - 2010 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:=sed
|
||||
PKG_VERSION:=4.2.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
||||
PKG_MD5SUM:=7d310fbd76e01a01115075c1fd3f455a
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/sed
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=GNU streams editor
|
||||
URL:=http://ftp.gnu.org/gnu/sed/
|
||||
endef
|
||||
|
||||
define Package/sed/description
|
||||
Sed (streams editor) takes text input and performs some operation
|
||||
(or set of operations) on it and outputs the modified text.
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
||||
PREFIX="/usr" \
|
||||
HOST="$(GNU_TARGET_NAME)" \
|
||||
|
||||
define Package/sed/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sed $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,sed))
|
Loading…
x
Reference in New Issue
Block a user