2022-11-30 14:19:37 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2022 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=bzip2
|
|
|
|
PKG_VERSION:=1.0.8
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://sourceware.org/pub/bzip2
|
|
|
|
PKG_HASH:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
|
|
|
|
|
|
|
|
PKG_LICENSE:=bzip2-1.0.8
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_CPE_ID:=cpe:/a:bzip:bzip2
|
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2024-04-03 16:52:57 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2022-11-30 14:19:37 +00:00
|
|
|
|
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
|
|
|
HOST_CFLAGS += $(HOST_FPIC)
|
|
|
|
|
2024-04-03 16:52:57 +00:00
|
|
|
CMAKE_HOST_OPTIONS += -DENABLE_EXAMPLES=off
|
2022-11-30 14:19:37 +00:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|