summaryrefslogtreecommitdiff
path: root/package/procps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-15 05:03:35 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-15 05:03:35 +0000
commitcc388f0b0a1d690780a5c9a9a73d3ae389572621 (patch)
tree36f7a485c5bdbe40553434f41dac0e26048980b5 /package/procps
parent12c460a0168633ba8a9a1c4c7aef635b6aa134f9 (diff)
fix installing of libproc.so on 64bit systems (like amd64) and fix the clean target so it works
Diffstat (limited to 'package/procps')
-rw-r--r--package/procps/procps.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/procps/procps.mk b/package/procps/procps.mk
index 89573a2c2..afc0740b1 100644
--- a/package/procps/procps.mk
+++ b/package/procps/procps.mk
@@ -24,7 +24,7 @@ $(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source
$(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY)
$(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \
- install='install -D' -C $(PROCPS_DIR) \
+ install='install -D' -C $(PROCPS_DIR) lib64=/lib \
ldconfig='/bin/true' install
rm -Rf $(TARGET_DIR)/usr/man
@@ -33,8 +33,13 @@ procps: uclibc ncurses $(TARGET_DIR)/$(PROCPS_TARGET_BINARY)
procps-source: $(DL_DIR)/$(PROCPS_SOURCE)
procps-clean:
- $(MAKE) prefix=$(TARGET_DIR)/usr -C $(PROCPS_DIR) uninstall
- -$(MAKE) -C $(PROCPS_DIR) clean
+ for bin in uptime tload free w \
+ top vmstat watch skill \
+ snice kill sysctl pmap \
+ pgrep pkill slabtop ; do \
+ rm -f $(TARGET_DIR)/usr/bin/$${bin} ; \
+ done
+ rm -f $(TARGET_DIR)/lib/libproc*
procps-dirclean:
rm -rf $(PROCPS_DIR)