fix libusb url

pull/328/head
ruki 4 years ago
parent de51f5ab64
commit 84fd2dd567
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 9
      packages/l/libusb/xmake.lua

@ -3,10 +3,11 @@ package("libusb")
set_homepage("https://libusb.info")
set_description("A cross-platform library to access USB devices.")
set_urls("https://github.com/libusb/libusb/archive/$(version).tar.gz",
"https://github.com/libusb/libusb.git")
add_versions("v1.0.24", "b7724c272dfc5713dce88ff717efd60f021ca5b7c8e30f08ebb2c42d2eea08ae")
add_versions("v1.0.23", "02620708c4eea7e736240a623b0b156650c39bfa93a14bcfa5f3e05270313eba")
add_urls("https://github.com/libusb/libusb/releases/download/$(version).tar.bz2", {version = function (version)
return version .. "/libusb-" .. (version:gsub("v", ""))
end})
add_urls("https://github.com/libusb/libusb.git")
add_versions("v1.0.24", "7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a")
if is_plat("macosx", "linux") then
add_deps("autoconf", "automake", "libtool", "pkg-config")

Loading…
Cancel
Save