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
975 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.19
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE_URL:=@GNU/m4
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_HASH:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
  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))