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.

41 lines
898 B

  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:=m4
  9. PKG_VERSION:=1.4.17
  10. PKG_RELEASE:=2
  11. PKG_SOURCE_URL:=@GNU/m4
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_MD5SUM:=12a3c829301a4fd6586a57d3fcf196dc
  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/m4
  19. SECTION:=devel
  20. CATEGORY:=Development
  21. TITLE:=m4
  22. URL:=https://www.gnu.org/software/m4/
  23. endef
  24. define Package/m4/description
  25. GNU M4 is an implementation of the traditional Unix macro processor.
  26. It is used by GNU Autoconf and Automake.
  27. endef
  28. define Package/m4/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/m4 $(1)/usr/bin/
  31. endef
  32. $(eval $(call BuildPackage,m4))