2008-08-27 22:13:32 +08:00
|
|
|
#
|
2014-02-03 07:41:32 +08:00
|
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
2008-08-27 22:13:32 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=quilt
|
2014-05-09 19:55:52 +08:00
|
|
|
PKG_VERSION:=0.63
|
2008-08-27 22:13:32 +08:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
|
2014-05-09 19:55:52 +08:00
|
|
|
PKG_MD5SUM:=c0ef4beb58a6fa72563b955e70624b6e
|
2008-08-27 22:13:32 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2010-10-07 19:33:54 +08:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
2013-03-08 01:32:29 +08:00
|
|
|
--with-find=$(FIND)
|
2010-10-07 19:33:54 +08:00
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Configure
|
2010-07-28 01:21:30 +08:00
|
|
|
cd $(HOST_BUILD_DIR) && autoconf
|
2009-02-22 12:37:20 +08:00
|
|
|
$(call Host/Configure/Default)
|
|
|
|
[ -f $(HOST_BUILD_DIR)/Makefile ]
|
2009-01-26 03:02:48 +08:00
|
|
|
endef
|
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Compile
|
2013-09-25 04:01:03 +08:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all
|
2008-08-27 22:13:32 +08:00
|
|
|
endef
|
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Install
|
2009-08-26 15:55:31 +08:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
|
2008-08-27 22:13:32 +08:00
|
|
|
endef
|
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Clean
|
2008-08-27 22:13:32 +08:00
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/quilt
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|