diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /tools/quilt/Makefile | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'tools/quilt/Makefile')
-rw-r--r-- | tools/quilt/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/quilt/Makefile b/tools/quilt/Makefile new file mode 100644 index 0000000..541e656 --- /dev/null +++ b/tools/quilt/Makefile @@ -0,0 +1,39 @@ +# +# Copyright (C) 2006 -2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=quilt +PKG_VERSION:=0.48 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME) +PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b + +include $(INCLUDE_DIR)/host-build.mk + +HOST_CONFIGURE_ARGS += \ + --with-find=$(FIND) + +define Host/Configure + cd $(HOST_BUILD_DIR) && autoconf + $(call Host/Configure/Default) + [ -f $(HOST_BUILD_DIR)/Makefile ] +endef + +define Host/Compile + $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files +endef + +define Host/Install + $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install +endef + +define Host/Clean + rm -f $(STAGING_DIR_HOST)/bin/quilt +endef + +$(eval $(call HostBuild)) |