|
@@ -1,14 +1,14 @@
|
|
|
package("libuuid")
|
|
|
-
|
|
|
set_homepage("https://sourceforge.net/projects/libuuid")
|
|
|
set_description("Portable uuid C library")
|
|
|
+ set_license("BSD-3-Clause")
|
|
|
|
|
|
set_urls("https://sourceforge.net/projects/libuuid/files/libuuid-$(version).tar.gz",
|
|
|
"https://git.code.sf.net/p/libuuid/code.git")
|
|
|
|
|
|
add_versions("1.0.3", "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644")
|
|
|
|
|
|
- on_install("linux", "macosx", "wasm", function(package)
|
|
|
+ on_install("linux", "macosx", "android", "iphoneos", "wasm", function(package)
|
|
|
local configs = {}
|
|
|
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
|
|
|
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
|