From b04bd2a081253f58dd0bc198c2ad6dc8a786c7af Mon Sep 17 00:00:00 2001 From: div72 Date: Mon, 16 Sep 2024 15:11:40 +0300 Subject: [PATCH] depends: remove bzip2 --- depends/packages/bzip2.mk | 36 ---------------------------- depends/packages/packages.mk | 2 +- depends/patches/bzip2/Makefile.patch | 21 ---------------- 3 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 depends/packages/bzip2.mk delete mode 100755 depends/patches/bzip2/Makefile.patch diff --git a/depends/packages/bzip2.mk b/depends/packages/bzip2.mk deleted file mode 100644 index 20c19cd32d..0000000000 --- a/depends/packages/bzip2.mk +++ /dev/null @@ -1,36 +0,0 @@ -package=bzip2 -$(package)_version=1.0.8 -$(package)_download_path=https://sourceware.org/pub/bzip2/ -$(package)_file_name=$(package)-$($(package)_version).tar.gz -$(package)_sha256_hash=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 -$(package)_patches=Makefile.patch - -define $(package)_set_vars - $(package)_build_opts= CC="$($(package)_cc)" - $(package)_build_opts+=CFLAGS="$($(package)_cflags) $($(package)_cppflags) -fPIC" - $(package)_build_opts+=RANLIB="$($(package)_ranlib)" - $(package)_build_opts+=AR="$($(package)_ar)" - $(package)_cxxflags_aarch64_linux = $(GCCFLAGS) - $(package)_cflags_aarch64_linux = $(GCCFLAGS) - $(package)_cxxflags_arm_linux = $(GCCFLAGS) - $(package)_cflags_arm_linux = $(GCCFLAGS) -endef - -define $(package)_preprocess_cmds - patch -p0 < $($(package)_patch_dir)/Makefile.patch && \ - cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . -endef - -define $(package)_config_cmds -endef - -define $(package)_build_cmds - $($(package)_build_opts) $(MAKE) libbz2.a -endef - -define $(package)_stage_cmds - mkdir $($(package)_staging_prefix_dir)/include && \ - cp -f bzlib.h $($(package)_staging_prefix_dir)/include && \ - mkdir $($(package)_staging_prefix_dir)/lib && \ - cp -f libbz2.a $($(package)_staging_prefix_dir)/lib -endef diff --git a/depends/packages/packages.mk b/depends/packages/packages.mk index 08ea90dcc1..fcebd68f39 100644 --- a/depends/packages/packages.mk +++ b/depends/packages/packages.mk @@ -1,4 +1,4 @@ -packages:=boost openssl curl zlib bzip2 libzip +packages:=boost openssl curl zlib libzip native_packages := native_ccache qt_packages = qrencode diff --git a/depends/patches/bzip2/Makefile.patch b/depends/patches/bzip2/Makefile.patch deleted file mode 100755 index 399a65f9c5..0000000000 --- a/depends/patches/bzip2/Makefile.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile 2019-07-13 13:50:05.000000000 -0400 -+++ Makefile 2019-10-28 13:31:36.918640240 -0400 -@@ -15,13 +15,13 @@ - SHELL=/bin/sh - - # To assist in cross-compiling --CC=gcc --AR=ar --RANLIB=ranlib --LDFLAGS= -+#CC=gcc -+#AR=ar -+#RANLIB=ranlib -+#LDFLAGS= - - BIGFILES=-D_FILE_OFFSET_BITS=64 --CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) -+CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) -fPIC - - # Where you want it installed when you do 'make install' - PREFIX=/usr/local