Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:=make
  9. PKG_VERSION:=4.2.1
  10. PKG_RELEASE:=2
  11. PKG_SOURCE_URL:=@GNU/make
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_MD5SUM:=15b012617e7c44c0ed482721629577ac
  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/make
  19. SECTION:=devel
  20. CATEGORY:=Development
  21. TITLE:=make
  22. URL:=https://www.gnu.org/software/make/
  23. endef
  24. define Package/make/description
  25. The Make package contains a tool to create executables from source files.
  26. endef
  27. define Package/make/install
  28. $(INSTALL_DIR) $(1)/usr/bin
  29. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
  30. endef
  31. # provide gnumake.h at build time for other packages
  32. define Build/InstallDev
  33. $(INSTALL_DIR) $(1)/usr/include
  34. $(CP) $(PKG_BUILD_DIR)/gnumake.h $(1)/usr/include/
  35. endef
  36. $(eval $(call BuildPackage,make))