X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2Fquilt%2FMakefile;h=939ba691637afe307a1c4628b2b22a8a58865197;hb=99646afc4f797d1ec720184239b9edb8b5b4b9af;hp=49da92b7344f81ae5101baee49cf6120a3fe9a00;hpb=21994b96774711f3385d7c146e3fb49552f1d835;p=openwrt.git diff --git a/tools/quilt/Makefile b/tools/quilt/Makefile index 49da92b734..939ba69163 100644 --- a/tools/quilt/Makefile +++ b/tools/quilt/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,23 +7,29 @@ include $(TOPDIR)/rules.mk PKG_NAME:=quilt -PKG_VERSION:=0.47 +PKG_VERSION:=0.64 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME) -PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0 +PKG_SOURCE_URL:=@SAVANNAH/quilt +PKG_MD5SUM:=fc0310db5868a0873d602d4332a76d43 include $(INCLUDE_DIR)/host-build.mk -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" +define Host/Configure + cd $(HOST_BUILD_DIR) && autoconf + $(call Host/Configure/Default) + [ -f $(HOST_BUILD_DIR)/Makefile ] endef -define Build/Install - $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" install +define Host/Compile + $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all endef -define Build/Clean +define Host/Install + $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install +endef + +define Host/Clean rm -f $(STAGING_DIR_HOST)/bin/quilt endef