423e2982e0938b952b8bbcb3c6a9121cc2f0038b
[openwrt.git] / 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 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=sed
10 PKG_VERSION:=4.1.2
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
15 PKG_CAT:=zcat
16 export SED:=
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 define Build/Configure
21 ( cd $(PKG_BUILD_DIR); \
22 ./configure \
23 --prefix=$(STAGING_DIR_HOST) \
24 --infodir=/usr/info \
25 )
26 endef
27
28 define Host/Compile
29 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
30 endef
31
32 define Host/Install
33 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
34 endef
35
36 define Host/Clean
37 rm -f $(STAGING_DIR_HOST)/bin/sed
38 endef
39
40 $(eval $(call HostBuild))
This page took 0.04318 seconds and 3 git commands to generate.