diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-05-15 11:23:46 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-05-15 11:23:46 +0000 |
commit | c1efa9b291f0aa1453ea6359cc6638c0e75b2ca7 (patch) | |
tree | 052e80bf0a4b6f0f40888e8e5c4578ab5baa14d1 /package/lsof/lsof.mk | |
parent | 01d97bb0c9925a5882cb2da6932e1ed8597cbb10 (diff) |
- bump version
Diffstat (limited to 'package/lsof/lsof.mk')
-rw-r--r-- | package/lsof/lsof.mk | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index 8849c6c98..6a60f8bcb 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -3,10 +3,11 @@ # lsof # ############################################################# -LSOF_SOURCE:=lsof_4.77.tar.bz2 +LSOF_VERSION:=4.78 +LSOF_SOURCE:=lsof_$(LSOF_VERSION).tar.bz2 LSOF_SITE:=ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ LSOF_CAT:=$(BZCAT) -LSOF_DIR:=$(BUILD_DIR)/lsof_4.77 +LSOF_DIR:=$(BUILD_DIR)/lsof_$(LSOF_VERSION) LSOF_BINARY:=lsof LSOF_TARGET_BINARY:=bin/lsof @@ -27,33 +28,33 @@ lsof-unpacked: $(LSOF_DIR)/.unpacked $(LSOF_DIR)/.unpacked: $(DL_DIR)/$(LSOF_SOURCE) $(LSOF_CAT) $(DL_DIR)/$(LSOF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - (cd $(LSOF_DIR);tar xf lsof_4.77_src.tar;rm -f lsof_4.77_src.tar) + (cd $(LSOF_DIR);tar xf lsof_$(LSOF_VERSION)_src.tar;rm -f lsof_$(LSOF_VERSION)_src.tar) toolchain/patch-kernel.sh $(LSOF_DIR) package/lsof/ \*.patch touch $(LSOF_DIR)/.unpacked $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked - (cd $(LSOF_DIR)/lsof_4.77_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" ./Configure linux) + (cd $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" ./Configure linux) touch $(LSOF_DIR)/.configured -$(LSOF_DIR)/lsof_4.77_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured +$(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured ifeq ($(UCLIBC_HAS_WCHAR),) - $(SED) 's,^#define[ ]*HASWIDECHAR.*,#undef HASWIDECHAR,' $(LSOF_DIR)/lsof_4.77_src/machine.h - $(SED) 's,^#define[ ]*WIDECHARINCL.*,,' $(LSOF_DIR)/lsof_4.77_src/machine.h + $(SED) 's,^#define[ ]*HASWIDECHAR.*,#undef HASWIDECHAR,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h + $(SED) 's,^#define[ ]*WIDECHARINCL.*,,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h endif ifeq ($(UCLIBC_HAS_LOCALE),) - $(SED) 's,^#define[ ]*HASSETLOCALE.*,#undef HASSETLOCALE,' $(LSOF_DIR)/lsof_4.77_src/machine.h + $(SED) 's,^#define[ ]*HASSETLOCALE.*,#undef HASSETLOCALE,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h endif - $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(LSOF_DIR)/lsof_4.77_src + $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src -$(TARGET_DIR)/$(LSOF_TARGET_BINARY): $(LSOF_DIR)/lsof_4.77_src/$(LSOF_BINARY) - cp $(LSOF_DIR)/lsof_4.77_src/$(LSOF_BINARY) $@ +$(TARGET_DIR)/$(LSOF_TARGET_BINARY): $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY) + cp $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY) $@ $(STRIP) $@ lsof: uclibc $(TARGET_DIR)/$(LSOF_TARGET_BINARY) lsof-clean: -rm -f $(TARGET_DIR)/$(LSOF_TARGET_BINARY) - -$(MAKE) -C $(LSOF_DIR)/lsof_4.77_src clean + -$(MAKE) -C $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src clean lsof-dirclean: rm -rf $(LSOF_DIR) |