mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
squid: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1c99b35528
commit
62df009e47
@ -23,13 +23,15 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|||||||
SQUID_DEPENDENCIES += openssl
|
SQUID_DEPENDENCIES += openssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,squid))
|
define SQUID_CLEANUP_TARGET
|
||||||
|
|
||||||
$(SQUID_HOOK_POST_INSTALL):
|
|
||||||
rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \
|
rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \
|
||||||
RunCache RunAccel)
|
RunCache RunAccel)
|
||||||
rm -f $(addprefix $(TARGET_DIR)/etc/, \
|
rm -f $(addprefix $(TARGET_DIR)/etc/, \
|
||||||
cachemgr.conf mime.conf.default squid.conf.default)
|
cachemgr.conf mime.conf.default squid.conf.default)
|
||||||
rm -f $(TARGET_DIR)/usr/libexec/cachemgr.cgi
|
rm -f $(TARGET_DIR)/usr/libexec/cachemgr.cgi
|
||||||
rm -f $(TARGET_DIR)/usr/share/mib.txt
|
rm -f $(TARGET_DIR)/usr/share/mib.txt
|
||||||
touch $@
|
endef
|
||||||
|
|
||||||
|
SQUID_POST_INSTALL_TARGET_HOOKS += SQUID_CLEANUP_TARGET
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,squid))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user