Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Copyright (C) 2006-2013 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:=automake
  9. PKG_VERSION:=1.11.6
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@GNU/automake
  12. PKG_MD5SUM:=cf4752287ad708f83bd3689da57a32c9
  13. include $(INCLUDE_DIR)/host-build.mk
  14. HOST_CONFIGURE_ARGS += --datarootdir=$(STAGING_DIR_HOST)/share
  15. HOST_CONFIGURE_VARS += am_cv_prog_PERL_ithreads=no
  16. define Host/Install
  17. $(MAKE) -C $(HOST_BUILD_DIR) install
  18. mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real
  19. $(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin
  20. ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9
  21. ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.10
  22. ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.11
  23. ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.11.6
  24. endef
  25. define Host/Clean
  26. -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
  27. $(call Host/Clean/Default)
  28. endef
  29. $(eval $(call HostBuild))