You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package("openssl")
|
|
|
|
|
|
|
|
set_homepage("https://www.openssl.org/")
|
|
|
|
set_description("A robust, commercial-grade, and full-featured toolkit for TLS and SSL.")
|
|
|
|
|
|
|
|
add_urls("https://www.openssl.org/source/openssl-$(version).tar.gz", {alias = "home", excludes = "*/fuzz/*"})
|
|
|
|
add_urls("https://github.com/openssl/openssl/archive/OpenSSL_$(version).zip",
|
|
|
|
{alias = "github", version = function (version) return version:gsub("%.", "_") end, excludes = "*/fuzz/*"})
|
|
|
|
|
|
|
|
add_versions("home:1.1.1", "2836875a0f89c03d0fdf483941512613a50cfb421d6fd94b9f41d7279d586a3d")
|
|
|
|
add_versions("github:1.1.1", "7da8c193d3828a0cb4d866dc75622b2aac392971c3d656f7817fb84355290343")
|
|
|
|
|
|
|
|
on_install("linux", "macosx", function (package)
|
|
|
|
os.vrun("./config %s --prefix=\"%s\"", package:debug() and "--debug" or "", package:installdir())
|
|
|
|
os.vrun("make -j4")
|
|
|
|
os.vrun("make install")
|
|
|
|
end)
|
|
|
|
|