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.

48 lines
1.1 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:=4
  11. PKG_SOURCE_URL:=@GNU/make
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_HASH:=d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0-or-later
  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. CONFIGURE_VARS += ac_cv_lib_elf_elf_begin=no
  32. # provide gnumake.h at build time for other packages
  33. define Build/InstallDev
  34. $(INSTALL_DIR) $(1)/usr/include
  35. $(CP) $(PKG_BUILD_DIR)/gnumake.h $(1)/usr/include/
  36. endef
  37. $(eval $(call BuildPackage,make))