From 06d4aab77af4e75f0e8fd96a93e108f92210d878 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:39:21 +0100 Subject: [PATCH 1/3] depends: Cleanup postprocess commands after switching to CMake --- depends/packages/freetype.mk | 3 --- depends/packages/libevent.mk | 2 +- depends/packages/zeromq.mk | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/depends/packages/freetype.mk b/depends/packages/freetype.mk index c942cbb9362f4..fef0beaa7b498 100644 --- a/depends/packages/freetype.mk +++ b/depends/packages/freetype.mk @@ -24,6 +24,3 @@ define $(package)_stage_cmds $(MAKE) DESTDIR=$($(package)_staging_dir) install endef -define $(package)_postprocess_cmds - rm -rf share/man -endef diff --git a/depends/packages/libevent.mk b/depends/packages/libevent.mk index 2636d914951a7..24e940eaa0dcb 100644 --- a/depends/packages/libevent.mk +++ b/depends/packages/libevent.mk @@ -39,7 +39,7 @@ define $(package)_stage_cmds endef define $(package)_postprocess_cmds - rm bin/event_rpcgen.py && \ + rm -rf bin && \ rm include/ev*.h && \ rm include/event2/*_compat.h endef diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk index 23bd58bf531c2..295c9fdec09ce 100644 --- a/depends/packages/zeromq.mk +++ b/depends/packages/zeromq.mk @@ -42,5 +42,5 @@ define $(package)_stage_cmds endef define $(package)_postprocess_cmds - rm -rf bin share lib/*.la + rm -rf share endef From 745bf0fa7e9afc3989e9c60d7ef09e96ae172277 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 25 Jul 2024 12:01:22 +0100 Subject: [PATCH 2/3] depends: cleanup after miniupnpc build --- depends/packages/miniupnpc.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/depends/packages/miniupnpc.mk b/depends/packages/miniupnpc.mk index 341031b5f827c..91d71a71b62a1 100644 --- a/depends/packages/miniupnpc.mk +++ b/depends/packages/miniupnpc.mk @@ -29,3 +29,8 @@ endef define $(package)_stage_cmds cmake --install . --prefix $($(package)_staging_prefix_dir) endef + +define $(package)_postprocess_cmds + rm -rf bin && \ + rm -rf share +endef From a0314c151679a348d842b68c5ecb7a556700811c Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 25 Jul 2024 12:02:48 +0100 Subject: [PATCH 3/3] depends: cleanup after qrencode build --- depends/packages/qrencode.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/depends/packages/qrencode.mk b/depends/packages/qrencode.mk index 4216646063fe7..e3f614091db0b 100644 --- a/depends/packages/qrencode.mk +++ b/depends/packages/qrencode.mk @@ -28,3 +28,7 @@ endef define $(package)_stage_cmds $(MAKE) DESTDIR=$($(package)_staging_dir) install endef + +define $(package)_postprocess_cmds + rm -rf share +endef