[tools] quilt: update to 0.60
[openwrt/svn-archive/archive.git] / tools / quilt / Makefile
1 #
2 # Copyright (C) 2006-2013 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.60
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:=058a08a9b626bdec9ec8c519dc92158c
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_CONFIGURE_ARGS += \
19 --with-find=$(FIND)
20
21 define Host/Configure
22 cd $(HOST_BUILD_DIR) && autoconf
23 $(call Host/Configure/Default)
24 [ -f $(HOST_BUILD_DIR)/Makefile ]
25 endef
26
27 define Host/Compile
28 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all
29 endef
30
31 define Host/Install
32 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
33 endef
34
35 define Host/Clean
36 rm -f $(STAGING_DIR_HOST)/bin/quilt
37 endef
38
39 $(eval $(call HostBuild))