tools/pkgconf: update to 2.1.1
[openwrt/staging/jow.git] / tools / lzop / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=lzop
11 PKG_VERSION:=1.04
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://www.lzop.org/download/
15 PKG_HASH:=7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41
16
17 PKG_LICENSE:=GPL-2.0-or-later
18 PKG_LICENSE_FILES:=COPYING
19
20 CMAKE_BINARY_SUBDIR:=openwrt-build
21
22 include $(INCLUDE_DIR)/host-build.mk
23 include $(INCLUDE_DIR)/cmake.mk
24
25 CMAKE_HOST_OPTIONS += \
26 -DENABLE_DOCS=ON \
27 -DBUILD_TESTING=OFF
28
29 define Host/Uninstall
30 rm -f $(STAGING_DIR_HOST)/bin/lzop
31 endef
32
33 $(eval $(call HostBuild))