miniupnpd rc: move custom configuration before "allow" statements
[tomato.git] / toolchain / tools / sed / Makefile
blob0f2b3dbf225a6fb3234950ceb783e7c66b2e7324
1 #
2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
9 PKG_NAME:=sed
10 PKG_VERSION:=4.1.2
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/$(PKG_NAME)
14 PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
15 PKG_CAT:=zcat
16 export SED:=
18 include $(INCLUDE_DIR)/host-build.mk
20 define Build/Compile
21 $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
22 endef
24 define Build/Install
25 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
26 endef
28 define Build/Clean
29 rm -f $(STAGING_DIR_HOST)/bin/sed
30 endef
32 $(eval $(call HostBuild))