49da92b7344f81ae5101baee49cf6120a3fe9a00
[openwrt/openwrt.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/Compile
19 $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
20 endef
21
22 define Build/Install
23 $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" install
24 endef
25
26 define Build/Clean
27 rm -f $(STAGING_DIR_HOST)/bin/quilt
28 endef
29
30 $(eval $(call HostBuild))