2
0

Makefile 846 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2006-2015 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_HASH:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
  13. include $(INCLUDE_DIR)/host-build.mk
  14. HOST_CONFIGURE_ARGS += \
  15. --datarootdir=$(STAGING_DIR_HOST)/share
  16. HOST_CONFIGURE_VARS += \
  17. PERL="/usr/bin/env perl"
  18. define Host/Compile
  19. export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
  20. endef
  21. define Host/Install
  22. export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
  23. endef
  24. define Host/Clean
  25. -export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
  26. $(call Host/Clean/Default)
  27. endef
  28. $(eval $(call HostBuild))