You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/tools/quilt/Makefile

37 lines
788 B
Makefile

#
# Copyright (C) 2006-2015 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
tools/quilt: update to 0.65 User-visible changes since 0.64 are as follows: - Translation fixes - Project settings have priority - Reject binary files in patches - Fix a race condition in diff_file - Performance: Optimizations to the setup command - Performance: Optimizations to the bash completion script - Test suite: Improve the edit test case - Test suite: Make the symlink test more robust - Test suite: Test backup failure - Test suite: Test the header command with hard links - diff: Report diff failures - edit: Fix a corner case bug - mail: Fix the help text - push: Fix the synopsis - refresh: Do not remove symlinks - refresh: Break links to read-only patch files - refresh: Always preserve modification time - setup: Report failed look-ups in inspect-wrapper - quilt.el: Fix quilt-editable when patches are stored in subdirs - bash_completion: Handle spaces in file names - bash_completion: Update the list of commands - bash_completion: Add new command options - bash_completion: Fix handling of mail, new, push options - guards: Simplify the help text - guards: Include the file name also in the "Not found" case - guards: Add support for an external filelist in --check mode - guards: Report which config file has problem in --check mode - guards: Documentation update - guards: Clarify a user message Note to packagers: the Makefile was modified to take configure's --sysconfdir into account as other projects do. As a result, setting --prefix=/usr will no longer put the configuration files under /etc. You now need to explicitly pass --sysconfdir=/etc. If you don't, configuration files will go under /usr/etc, which is not what you want. This is somewhat less intuitive, but also more consistent with what other projects are doing. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years ago
PKG_VERSION:=0.65
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SAVANNAH/quilt
PKG_HASH:=f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819
include $(INCLUDE_DIR)/host-build.mk
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
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))