summaryrefslogtreecommitdiffstats
path: root/package/bmon/bmon.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/bmon/bmon.mk')
-rw-r--r--package/bmon/bmon.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk
index 759b08416..e9b10b014 100644
--- a/package/bmon/bmon.mk
+++ b/package/bmon/bmon.mk
@@ -8,11 +8,9 @@ BMON_VERSION = 2.1.0
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
BMON_SITE = http://distfiles.gentoo.org/distfiles
BMON_DEPENDENCIES = ncurses
-BMON_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
-$(eval $(call AUTOTARGETS,package,bmon))
-
-$(BMON_TARGET_UNINSTALL):
- $(call MESSAGE,"Uninstalling")
+define BMON_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/bmon
- rm -f $(BMON_TARGET_INSTALL_TARGET) $(BMON_HOOK_POST_INSTALL)
+endef
+
+$(eval $(call AUTOTARGETS,package,bmon))