packages/utils/sed/Makefile
swalker a5268117b5 [packages] remove PKG_CATs that have crept in, add license to broadcom-sdhc, remove trailing whitespace
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 15:09:25 +00:00

45 lines
983 B
Makefile

#
# 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_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))