Explorar o código

add license for `json-c`, `libiconv`, `sqlite3` and `zlib` (#4096)

zjyhjqs hai 1 ano
pai
achega
5b6400866a

+ 2 - 2
packages/j/json-c/xmake.lua

@@ -1,9 +1,9 @@
 package("json-c")
-
     set_homepage("https://github.com/json-c/json-c/wiki")
     set_description("JSON parser for C")
+    set_license("MIT")
 
-    set_urls("https://github.com/json-c/json-c/archive/json-c-$(version).zip")
+    set_urls("https://github.com/json-c/json-c/archive/refs/tags/json-c-$(version).zip")
 
     add_versions("0.13.1-20180305", "8a244527eb4f697362f713f7d6dca3f6f9b5335e18fe7b705130ae62e599e864")
 

+ 1 - 0
packages/l/libiconv/xmake.lua

@@ -2,6 +2,7 @@ package("libiconv")
 
     set_homepage("https://www.gnu.org/software/libiconv")
     set_description("Character set conversion library.")
+    set_license("LGPL-2.0")
 
     set_urls("https://ftpmirror.gnu.org/gnu/libiconv/libiconv-$(version).tar.gz",
              "https://ftp.gnu.org/gnu/libiconv/libiconv-$(version).tar.gz")

+ 1 - 0
packages/s/sqlite3/xmake.lua

@@ -2,6 +2,7 @@ package("sqlite3")
 
     set_homepage("https://sqlite.org/")
     set_description("The most used database engine in the world")
+    set_license("Public Domain")
 
     set_urls("https://sqlite.org/$(version)", {version = function (version)
         local year = "2024"

+ 1 - 0
packages/z/zlib/xmake.lua

@@ -2,6 +2,7 @@ package("zlib")
 
     set_homepage("http://www.zlib.net")
     set_description("A Massively Spiffy Yet Delicately Unobtrusive Compression Library")
+    set_license("zlib")
 
     add_urls("https://github.com/madler/zlib/archive/$(version).tar.gz")
     add_urls("https://github.com/madler/zlib.git")