Skip to content

Commit

Permalink
test without add_versionfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Feb 9, 2025
1 parent 4a3a7ff commit f2382cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/l/libcurl/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ package("libcurl")
set_urls("https://curl.haxx.se/download/curl-$(version).tar.bz2")
add_urls("https://github.com/curl/curl/releases/download/curl-$(version).tar.bz2",
{version = function (version) return (version:gsub("%.", "_")) .. "/curl-" .. version end})
if add_versionfiles then
add_versionfiles("versions.txt")
else
-- if add_versionfiles then
-- add_versionfiles("versions.txt")
-- else
add_versions_list()
end
-- end

add_patches("7.84.0", path.join(os.scriptdir(), "patches", "7.84.0", "sched.patch"), "e79f56f840cbc6996a153f19d9266bd46fe4154e6b494c8ee0478cb5b87662d3")
add_patches("8.7.1", path.join(os.scriptdir(), "patches", "8.7.1", "android_armv7.patch"), "b172fd25063fcf4bce987b47a3d95d9d79bcf80f45e7e45dbf4aba72c685fb24")
Expand Down

0 comments on commit f2382cc

Please sign in to comment.