source: trunk/tools/quilt/Makefile @ 22397

Last change on this file since 22397 was 22397, checked in by acoul, 6 years ago

tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)

File size: 814 bytes
Line 
1#
2# Copyright (C) 2006 -2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=quilt
10PKG_VERSION:=0.48
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
14PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b
15
16include $(INCLUDE_DIR)/host-build.mk
17
18define Host/Configure
19        cd $(HOST_BUILD_DIR) && autoconf
20        $(call Host/Configure/Default)
21        [ -f $(HOST_BUILD_DIR)/Makefile ]
22endef
23
24define Host/Compile
25        $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files
26endef
27
28define Host/Install
29        $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
30endef
31
32define Host/Clean
33        rm -f $(STAGING_DIR_HOST)/bin/quilt
34endef
35
36$(eval $(call HostBuild))
Note: See TracBrowser for help on using the repository browser.