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.

51 lines
1.2 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.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=@GNU/make
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_HASH:=e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_CPE_ID:=cpe:/a:gnu:make
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/make
  21. SECTION:=devel
  22. CATEGORY:=Development
  23. TITLE:=make
  24. URL:=https://www.gnu.org/software/make/
  25. endef
  26. define Package/make/description
  27. The Make package contains a tool to create executables from source files.
  28. endef
  29. define Package/make/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
  32. endef
  33. CONFIGURE_VARS += ac_cv_lib_elf_elf_begin=no
  34. # provide gnumake.h at build time for other packages
  35. define Build/InstallDev
  36. $(INSTALL_DIR) $(1)/usr/include
  37. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/gnumake.h $(1)/usr/include/
  38. endef
  39. $(eval $(call BuildPackage,make))