Browse Source

- strace: bump version to 5.9; update build

master
vanhofen 3 years ago
parent
commit
1693c66e2d
  1. 20
      package/strace/strace.mk

20
package/strace/strace.mk

@ -4,21 +4,15 @@
# #
################################################################################ ################################################################################
STRACE_VERSION = 5.1 STRACE_VERSION = 5.9
STRACE_DIR = strace-$(STRACE_VERSION) STRACE_DIR = strace-$(STRACE_VERSION)
STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_SITE = https://strace.io/files/$(STRACE_VERSION)
$(DL_DIR)/$(STRACE_SOURCE): define STRACE_TARGET_CLEANUP
$(download) $(STRACE_SITE)/$(STRACE_SOURCE)
strace: $(DL_DIR)/$(STRACE_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(STRACE_DIR)
$(UNTAR)/$(STRACE_SOURCE)
$(CHDIR)/$(STRACE_DIR); \
$(CONFIGURE); \
$(MAKE); \
$(MAKE) install DESTDIR=$(TARGET_DIR)
$(TARGET_RM) $(addprefix $(TARGET_bindir)/,strace-graph strace-log-merge) $(TARGET_RM) $(addprefix $(TARGET_bindir)/,strace-graph strace-log-merge)
$(REMOVE)/$(STRACE_DIR) endef
$(TOUCH) STRACE_TARGET_FINALIZE_HOOKS += STRACE_TARGET_CLEANUP
strace: | $(TARGET_DIR)
$(call autotools-package)

Loading…
Cancel
Save