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.

46 lines
1.0 KiB

  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:=1
  11. PKG_SOURCE_URL:=@GNU/make
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_MD5SUM:=7d0dcb6c474b258aab4d54098f2cf5a7
  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))