move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make...
[openwrt.git] / tools / sed / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=sed
10 PKG_VERSION:=4.2.1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_MD5SUM:=7d310fbd76e01a01115075c1fd3f455a
15 PKG_CAT:=bzcat
16 export SED:=
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 define Host/Compile
21 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
22 endef
23
24 define Host/Install
25 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
26 endef
27
28 define Host/Clean
29 rm -f $(STAGING_DIR_HOST)/bin/sed
30 endef
31
32 $(eval $(call HostBuild))
This page took 0.043826 seconds and 5 git commands to generate.