Makefile 658 B

123456789101112131415161718192021222324252627282930
  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. PKG_NAME:=quilt
  9. PKG_VERSION:=0.47
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
  12. PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0
  13. include $(INCLUDE_DIR)/host-build.mk
  14. define Build/Compile
  15. $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
  16. endef
  17. define Build/Install
  18. $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" install
  19. endef
  20. define Build/Clean
  21. rm -f $(STAGING_DIR_HOST)/bin/quilt
  22. endef
  23. $(eval $(call HostBuild))