2008-08-27 14:13:32 +00:00
|
|
|
#
|
2010-04-24 19:54:53 +00:00
|
|
|
# Copyright (C) 2006 -2010 OpenWrt.org
|
2008-08-27 14:13:32 +00: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
|
2010-04-24 19:54:53 +00:00
|
|
|
PKG_VERSION:=0.48
|
2008-08-27 14:13:32 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
|
2010-04-24 19:54:53 +00:00
|
|
|
PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b
|
2008-08-27 14:13:32 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Configure
|
2010-07-27 17:21:30 +00:00
|
|
|
cd $(HOST_BUILD_DIR) && autoconf
|
2009-02-22 04:37:20 +00:00
|
|
|
$(call Host/Configure/Default)
|
|
|
|
[ -f $(HOST_BUILD_DIR)/Makefile ]
|
2009-01-25 19:02:48 +00:00
|
|
|
endef
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Compile
|
2009-08-26 07:55:31 +00:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files
|
2008-08-27 14:13:32 +00:00
|
|
|
endef
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Install
|
2009-08-26 07:55:31 +00:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
|
2008-08-27 14:13:32 +00:00
|
|
|
endef
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Clean
|
2008-08-27 14:13:32 +00:00
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/quilt
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|