include Config
PKG_NAME = lsof
-PKG_VER = 4.78
+PKG_VER = 4.82
+PKG_REL = 0
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.bz2
+THISAPP = $(PKG_NAME)_$(PKG_VER)_src
+DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+MAINTAINER =
+GROUP = Development/Debuggers
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
+LICENSE = zlib
+SHORT_DESC = A utility which lists open files on a Linux/UNIX system.
+
+define LONG_DESC
+ Lsof stands for LiSt Open Files, and it does just that: \
+ it lists information about files that are open by the \
+ processes running on a system.
+endef
+
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
+download: $(objects)
+
info:
$(DO_PKG_INFO)
install: $(OBJECT)
-download : $(objects)
+package:
+ @$(DO_PKG_INFO)
$(objects) :
@$(LOAD)
# Installation Details
###############################################################################
-$(OBJECT) :
+$(OBJECT) : $(objects)
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./Configure linux -n
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd $(DIR_APP) && install -m 4750 -o root -g nobody lsof /usr/bin