2 # Copyright (C) 2022 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=http
://www.lzop.org
/download
/
15 PKG_HASH
:=7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41
17 PKG_LICENSE
:=GPL-2.0
-or-later
18 PKG_LICENSE_FILES
:=COPYING
20 CMAKE_BINARY_SUBDIR
:=openwrt-build
22 include $(INCLUDE_DIR
)/host-build.mk
23 include $(INCLUDE_DIR
)/cmake.mk
25 CMAKE_HOST_OPTIONS
+= \
30 rm -f
$(STAGING_DIR_HOST
)/bin
/lzop
33 $(eval
$(call HostBuild
))