# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: psmisc,v 1.3.2.3 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
include Config
-VER = 21.4
+VER = 22.2
THISAPP = psmisc-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = $(URL_SFNET)/psmisc
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 8449269fdc8ae5d7d494df745e1180d3
+$(DL_FILE)_MD5 = 77737c817a40ef2c160a7194b5b64337
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --exec-prefix=/
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && ./configure --prefix=/usr --exec-prefix="" --disable-nls
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
- ln -sf killall /bin/pidof
+ mv -v /bin/pstree* /usr/bin
+ #ln -sf killall /bin/pidof
@rm -rf $(DIR_APP)
@$(POSTBUILD)