5294534b017552ba16ca8523abf95cd85fc5f58f
[openwrt/staging/chunkeey.git] / tools / quilt / Makefile
1 #
2 # Copyright (C) 2006 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.47
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
14 PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Build/Configure
19 $(call Build/Configure/Default)
20 [ -f $(PKG_BUILD_DIR)/Makefile ]
21 endef
22
23 define Build/Compile
24 $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
25 endef
26
27 define Build/Install
28 $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" install
29 endef
30
31 define Build/Clean
32 rm -f $(STAGING_DIR_HOST)/bin/quilt
33 endef
34
35 $(eval $(call HostBuild))