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.

70 lines
2.2 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.69
  10. PKG_RELEASE:=2
  11. PKG_SOURCE_URL:=@GNU/autoconf
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_MD5SUM:=50f97f4159805e374639a73e2636f22e
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0+
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. CONFIGURE_VARS += M4=m4 EMACS=no
  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. define Build/Install
  32. $(SED) 's/@PERL@/\/usr\/bin\/perl/g' $(PKG_BUILD_DIR)/bin/Makefile.in
  33. $(call Build/Install/Default)
  34. endef
  35. define Package/autoconf/install
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  38. $(INSTALL_DIR) $(1)/usr/share/autoconf
  39. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/INSTALL \
  40. $(1)/usr/share/autoconf/
  41. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autom4te.cfg \
  42. $(1)/usr/share/autoconf/
  43. $(INSTALL_DIR) $(1)/usr/share/autoconf/Autom4te
  44. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/Autom4te/* \
  45. $(1)/usr/share/autoconf/Autom4te/
  46. $(INSTALL_DIR) $(1)/usr/share/autoconf/autoconf
  47. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autoconf/* \
  48. $(1)/usr/share/autoconf/autoconf/
  49. $(INSTALL_DIR) $(1)/usr/share/autoconf/autoscan
  50. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autoscan/* \
  51. $(1)/usr/share/autoconf/autoscan/
  52. $(INSTALL_DIR) $(1)/usr/share/autoconf/autotest
  53. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/autotest/* \
  54. $(1)/usr/share/autoconf/autotest/
  55. $(INSTALL_DIR) $(1)/usr/share/autoconf/m4sugar
  56. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/autoconf/m4sugar/* \
  57. $(1)/usr/share/autoconf/m4sugar/
  58. endef
  59. $(eval $(call BuildPackage,autoconf))