librespeed-cli: rename binary to librespeed-cli

upstream names the binary librespeed-cli and this avoids a conflict with
python3-speedtest-cli

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit c2ad338b0f)
This commit is contained in:
Michal Vasilek 2022-11-21 13:49:20 +01:00 committed by Tianling Shen
parent dfdf74ef9e
commit 7e25e745f5
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
1 changed files with 6 additions and 0 deletions

View File

@ -41,5 +41,11 @@ define Package/librespeed-cli/description
LibreSpeed client for measuring internet speed from command line.
endef
define Package/librespeed-cli/install
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/speedtest-cli $(1)/usr/bin/librespeed-cli
endef
$(eval $(call GoBinPackage,librespeed-cli))
$(eval $(call BuildPackage,librespeed-cli))