Browse Source

- sg3_utils: bump version to 1.47; rework buld

master
vanhofen 3 years ago
parent
commit
3ca7bfd261
  1. 13
      package/sg3_utils/sg3_utils.mk

13
package/sg3_utils/sg3_utils.mk

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
SG3_UTILS_VERSION = 1.45 SG3_UTILS_VERSION = 1.47
SG3_UTILS_DIR = sg3_utils-$(SG3_UTILS_VERSION) SG3_UTILS_DIR = sg3_utils-$(SG3_UTILS_VERSION)
SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz
SG3_UTILS_SITE = http://sg.danny.cz/sg/p SG3_UTILS_SITE = http://sg.danny.cz/sg/p
@ -15,11 +15,12 @@ SG3_UTILS_CONF_OPTS = \
SG3_UTILS_BINARIES = sg_start SG3_UTILS_BINARIES = sg_start
define SG3_UTILS_INSTALL_BINARIES define SG3_UTILS_INSTALL_BINARIES
for bin in $(SG3_UTILS_BINARIES); do \ $(foreach binary,$($(PKG)_BINARIES),\
rm -f $(TARGET_bindir)/$$bin; \ rm -f $(TARGET_bindir)/$(binary); \
$(INSTALL_EXEC) -D $(TARGET_bindir).$(@F)/$$bin $(TARGET_bindir)/$$bin; \ $(INSTALL_EXEC) -D $(TARGET_bindir).$(@F)/$(binary) $(TARGET_bindir)/$(binary); \
done rm -f $(TARGET_bindir).$(@F)/$(binary)$(sep) \
rm -r $(TARGET_bindir).$(@F) )
$(TARGET_RM) $(TARGET_bindir).$(@F)
endef endef
SG3_UTILS_TARGET_FINALIZE_HOOKS += SG3_UTILS_INSTALL_BINARIES SG3_UTILS_TARGET_FINALIZE_HOOKS += SG3_UTILS_INSTALL_BINARIES

Loading…
Cancel
Save