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

67 lines
2.1 KiB

  1. #
  2. # Copyright (C) 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.70
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=@GNU/autoconf
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_HASH:=fa9e227860d9d845c0a07f63b88c8d7a2ae1aa2345fb619384bb8accc19fecc6
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_INSTALL:=1
  17. PKG_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/autoconf
  20. SECTION:=devel
  21. CATEGORY:=Development
  22. TITLE:=autoconf
  23. URL:=https://www.gnu.org/software/autoconf/
  24. DEPENDS:=+m4 +perl +perlbase-data +perlbase-file +perlbase-getopt \
  25. +perlbase-dynaloader +perlbase-text
  26. endef
  27. define Package/autoconf/description
  28. Autoconf is an extensible package of M4 macros that produce shell scripts to
  29. automatically configure software source code packages.
  30. endef
  31. CONFIGURE_VARS += M4=m4 EMACS=no
  32. define Package/autoconf/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  35. $(INSTALL_DIR) $(1)/usr/share/autoconf
  36. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/INSTALL \
  37. $(1)/usr/share/autoconf/
  38. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autom4te.cfg \
  39. $(1)/usr/share/autoconf/
  40. $(INSTALL_DIR) $(1)/usr/share/autoconf/Autom4te
  41. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/Autom4te/* \
  42. $(1)/usr/share/autoconf/Autom4te/
  43. $(INSTALL_DIR) $(1)/usr/share/autoconf/autoconf
  44. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autoconf/* \
  45. $(1)/usr/share/autoconf/autoconf/
  46. $(INSTALL_DIR) $(1)/usr/share/autoconf/autoscan
  47. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autoscan/* \
  48. $(1)/usr/share/autoconf/autoscan/
  49. $(INSTALL_DIR) $(1)/usr/share/autoconf/autotest
  50. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autotest/* \
  51. $(1)/usr/share/autoconf/autotest/
  52. $(INSTALL_DIR) $(1)/usr/share/autoconf/m4sugar
  53. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/m4sugar/* \
  54. $(1)/usr/share/autoconf/m4sugar/
  55. endef
  56. $(eval $(call BuildPackage,autoconf))