Root/tools/sed/Makefile

1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=sed
10PKG_VERSION:=4.1.2
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
15PKG_CAT:=zcat
16export SED:=
17
18include $(INCLUDE_DIR)/host-build.mk
19
20define Host/Compile
21    $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
22endef
23
24define Host/Install
25    $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
26endef
27
28define Host/Clean
29    rm -f $(STAGING_DIR_HOST)/bin/sed
30endef
31
32$(eval $(call HostBuild))
33

Archive Download this file



interactive