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.

42 lines
962 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:=3
  11. PKG_SOURCE_URL:=@GNU/m4
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_HASH:=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_CPE_ID:=cpe:/a:gnu:m4
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/m4
  20. SECTION:=devel
  21. CATEGORY:=Development
  22. TITLE:=m4
  23. URL:=https://www.gnu.org/software/m4/
  24. endef
  25. define Package/m4/description
  26. GNU M4 is an implementation of the traditional Unix macro processor.
  27. It is used by GNU Autoconf and Automake.
  28. endef
  29. define Package/m4/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/m4 $(1)/usr/bin/
  32. endef
  33. $(eval $(call BuildPackage,m4))