make quilt installation work on cygwin
[openwrt/openwrt.git] / tools / quilt / 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:=quilt
10 PKG_VERSION:=0.47
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
14 PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Host/Configure
19 $(call Host/Configure/Default)
20 [ -f $(HOST_BUILD_DIR)/Makefile ]
21 endef
22
23 define Host/Compile
24 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
25 endef
26
27 define Host/Install
28 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install lib/backup-files
29 endef
30
31 define Host/Clean
32 rm -f $(STAGING_DIR_HOST)/bin/quilt
33 endef
34
35 $(eval $(call HostBuild))