From a4c8130640da5b989d3cdb861a438f639499413a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 28 Apr 2009 18:30:20 +0000 Subject: package/openssl: fix uninstall --- package/openssl/openssl.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'package') diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk index a238ce859..a0e6f7e54 100644 --- a/package/openssl/openssl.mk +++ b/package/openssl/openssl.mk @@ -73,3 +73,11 @@ else $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/engines/lib*.so endif touch $@ + +$(OPENSSL_TARGET_UNINSTALL): + $(call MESSAGE,"Uninstalling") + rm -rf $(addprefix $(TARGET_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl) + rm -rf $(addprefix $(TARGET_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc) + rm -rf $(addprefix $(STAGING_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl) + rm -rf $(addprefix $(STAGING_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc) + rm -f $(OPENSSL_TARGET_INSTALL_TARGET) $(OPENSSL_HOOK_POST_INSTALL) -- cgit v1.2.3