Makefile 806 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2006-2014 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:=autoconf
  9. PKG_VERSION:=2.69
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@GNU/autoconf
  12. PKG_MD5SUM:=50f97f4159805e374639a73e2636f22e
  13. include $(INCLUDE_DIR)/host-build.mk
  14. define Host/Configure
  15. $(call Host/Configure/Default,\
  16. --datarootdir=$(STAGING_DIR_HOST)/share \
  17. )
  18. endef
  19. define Host/Compile
  20. export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
  21. endef
  22. define Host/Install
  23. export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
  24. endef
  25. define Host/Clean
  26. -export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
  27. $(call Host/Clean/Default)
  28. endef
  29. $(eval $(call HostBuild))