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.

49 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_CPE_ID:=cpe:/a:gnu:make
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/make
  20. SECTION:=devel
  21. CATEGORY:=Development
  22. TITLE:=make
  23. URL:=https://www.gnu.org/software/make/
  24. endef
  25. define Package/make/description
  26. The Make package contains a tool to create executables from source files.
  27. endef
  28. define Package/make/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
  31. endef
  32. CONFIGURE_VARS += ac_cv_lib_elf_elf_begin=no
  33. # provide gnumake.h at build time for other packages
  34. define Build/InstallDev
  35. $(INSTALL_DIR) $(1)/usr/include
  36. $(CP) $(PKG_BUILD_DIR)/gnumake.h $(1)/usr/include/
  37. endef
  38. $(eval $(call BuildPackage,make))