tools/scons: update to 3.0.1
[openwrt/openwrt.git] / tools / quilt / Makefile
1 #
2 # Copyright (C) 2006-2015 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.65
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@SAVANNAH/quilt
14 PKG_HASH:=f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Host/Configure
19 cd $(HOST_BUILD_DIR) && autoconf
20 $(call Host/Configure/Default)
21 [ -f $(HOST_BUILD_DIR)/Makefile ]
22 endef
23
24 define Host/Compile
25 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all
26 endef
27
28 define Host/Install
29 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
30 endef
31
32 define Host/Clean
33 rm -f $(STAGING_DIR_HOST)/bin/quilt
34 endef
35
36 $(eval $(call HostBuild))