Makefile 707 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Copyright (C) 2022 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:=bzip2
  9. PKG_VERSION:=1.0.8
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://sourceware.org/pub/bzip2
  13. PKG_HASH:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
  14. PKG_LICENSE:=bzip2-1.0.8
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_CPE_ID:=cpe:/a:bzip:bzip2
  17. HOST_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/host-build.mk
  19. include $(INCLUDE_DIR)/cmake.mk
  20. HOSTCC := $(HOSTCC_NOCACHE)
  21. HOST_CFLAGS += $(HOST_FPIC)
  22. CMAKE_HOST_OPTIONS += -DENABLE_EXAMPLES=off
  23. $(eval $(call HostBuild))