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.

69 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:=1
  11. PKG_SOURCE_URL:=@GNU/autoconf
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_MD5SUM:=82d05e03b93e45f5a39b828dc9c6c29b
  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. define Package/autoconf
  19. SECTION:=devel
  20. CATEGORY:=Development
  21. TITLE:=autoconf
  22. URL:=https://www.gnu.org/software/autoconf/
  23. DEPENDS:=+m4 +perl +perlbase-data +perlbase-file +perlbase-getopt \
  24. +perlbase-dynaloader +perlbase-text
  25. endef
  26. define Package/autoconf/description
  27. Autoconf is an extensible package of M4 macros that produce shell scripts to
  28. automatically configure software source code packages.
  29. endef
  30. define Build/Install
  31. $(SED) 's/@PERL@/\/usr\/bin\/perl/g' $(PKG_BUILD_DIR)/bin/Makefile.in
  32. $(call Build/Install/Default)
  33. endef
  34. define Package/autoconf/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(SED) 's|$(STAGING_DIR_HOST)|/usr|g' $(PKG_INSTALL_DIR)/usr/bin/autom4te
  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))