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
930 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.18
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=@GNU/m4
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_MD5SUM:=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
  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))