Makefile 704 B

123456789101112131415161718192021222324252627282930313233
  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:=lzop
  9. PKG_VERSION:=1.04
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=http://www.lzop.org/download/
  12. PKG_HASH:=7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41
  13. PKG_LICENSE:=GPL-2.0-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. CMAKE_BINARY_SUBDIR:=librecmc-build
  16. include $(INCLUDE_DIR)/host-build.mk
  17. include $(INCLUDE_DIR)/cmake.mk
  18. CMAKE_HOST_OPTIONS += \
  19. -DENABLE_DOCS=ON \
  20. -DBUILD_TESTING=OFF
  21. define Host/Uninstall
  22. rm -f $(STAGING_DIR_HOST)/bin/lzop
  23. endef
  24. $(eval $(call HostBuild))