forked from x2on/OpenSSL-for-iPhone
-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathPackage.swift
31 lines (27 loc) · 859 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let filename = "openssl.xcframework.zip"
let version = "3.4.200"
let checksum = "f6810dbc37a42e0bc7ceca44716987a3f40629d3c79967a5626e12b0bb93b65a"
let package = Package(
name: "openssl-apple",
products: [
.library(
name: "openssl-apple",
targets: ["openssl"]),
],
dependencies: [
],
targets: [
.binaryTarget(
name: "openssl",
url: "https://github.com/passepartoutvpn/openssl-apple/releases/download/\(version)/\(filename)",
checksum: checksum
),
// local development
// .binaryTarget(
// name: "openssl",
// path: "frameworks/openssl.xcframework.zip")
]
)